Add /edit command

Added support for an internal /edit command (callable as /e) modeled after psql's \e command: it invokes your editor on the most recent command, and when the editor exits (presumably with saved changes), puts the result back onto the readline.

Potential future improvement: skip /commands in history and only try to edit the most recent SQL?