Improve MuJS interactive shell.

Add read/readline/write/quit functions.
Add CommonJS style modules with require function.