Change REPL to use a context

and add set the _ and $_ variables to the result of the previously
executed statement.

Fixes #27