Reports errors instead of dumping core.
hacking in progress
Ahh, this is better.

This version now works surprisingly well.
It can handle continuation lines, and it can handle input piped from a file.
Of course it still needs work, but this is a nice checkpoint to work from.
Adjusted REPL flow, more robust error handling.

Stream is initially paused, resumed just after prompting for input.
.done() handler ensures REPL loops after catch
Merge pull request #1 from jimlloyd/catch-errors

Catch errors