Change dimo to requirejs application layout

The internals haven't been chopped up yet, but will be.

This mainly just moves the dependencies from script tags to requires.
It's especially great for the shaders, now stored in .vert and .frag
files. :)