require.js

This one's big.

Moved everything to require JS. @marktheunissen, I pulled in your config changes. I took a different route than we discussed. I created a Go endpoint that returns the config as a require.js module, so any js modules that need to access it can just require it as a dependency. 

I still want to break apart `app/core` into separate modules, but for now I think we're in a good spot where the main JS looks the same, but everything is working with require.