Add Options.diff and refactor test to use it

Set Options through setOptions to check for unknown options.
Correct sourceMap -> sourceMaps
Fixes #1254
Thanks, both were a small problem. I renamed asScript -> script for the command line and added support for scripts to repl.