Bit the bullet and refactored the ulgiest code.

Now using a dependency based module system. It is now possible
for separate files to declare dependencies without hard coding
priorities into the cakefile, and even better, more subtly managing
visibility, since it is now possible to share module dependencies by
name, without having to export them onto any globally accessible object.
The system takes some inspiration from the commonjs module system, but
eschews require for a declarative and acyclic dependency graph.
we don't need to hard code 'no value' any more
Position tooltips for pagination on top.

This puts them out of the way of harm, and more importantly, clicks.