Add support for external modules (not to be bundled but used as UMD deps).

* Added option for external modules hash with optional separate AMD / global names. Fixes #5.
* Add proper source map comparison (check whether all the mappings still work).