Move all global definition imports into main.js
Review Request #9622 — Created Feb. 11, 2018 and submitted
There are a few imports, primarily dealing with custom x-editable
editors, which just add stuff into the global namespace. Instead of
re-importing all of these in each place and hoping that tree shaking
gets rid of them, we might as well just import them once.
Loaded pages and saw things still functioned.