repl+env+Makefile: Node impl of r5js.Terminal.
env+repl: put the platform-dependent terminal impls in src/env.