Move all global definition imports into main.js

Review Request #9622 - Created Feb. 11, 2018 and updated

David Trowbridge
student-sonar
master
2729fda...
student-sonar

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.

Checks run (2 succeeded)
flake8 passed.
JSHint passed.
Loading...