Add sourceFilename to react source maps
Minify JS
Change all imports to be via require, using exposify otherwise. Building with NODE_ENV=production switches on name mangling and elision of some react runtime checks. While that would save us another 30% in file size it also complicates debugging, so not enabling in production build just yet.
npm shrinkwrap --dev
jshint settings tweaks
Avoid embedding inline.js source in bundle.js
Best to set script content as raw text to avoid quoting problems.
More complete console shim.
Generalise npm postinstall patching.
Patch react to avoid IE8 error
See https://github.com/facebook/react/pulls/2311
Add shim modules during npm postinstall
No need for scriptjs global anymore
Extract getRenderedProps for easier testing.
google-analytics can now be fetched externally
Remove duplicate envify
npm shrinkwrap --dev
Merge pull request #470 from ENCODE-DCC/minify-js

Minify js
Merge remote-tracking branch 'origin/master' into 1863-status-color-key