Add Options.diff and refactor test to use it

Set Options through setOptions to check for unknown options.
Correct sourceMap -> sourceMaps
Fixes #1254
I don't know what this does. Care to add a comment?