Use completion-at-point in REPL

This saves a lot of code.

RE #36.