Programmatic access to REPL like Pkg, Debugger, etc

@pdeffebach thanks. i’ll take a look at REPLMaker.jl.