Enhance sourcemap support

This adds support for JS source maps for the packaged JS files. (annotator.min.js, and friends.) Also for plugins.