Major javascript refactor

* Re-arrange how some js libs were loaded.
* Change how we put data into JS from Java.
* Change how we launch Marionette apps on page load.
* Add full codemirror library