Add Options.diff and refactor test to use it

Set Options through setOptions to check for unknown options.
Correct sourceMap -> sourceMaps
Fixes #1254
done