Fixing the sandboxing in the REPL

require statements now work
closes gh-59