Graphics spike

I still have one file containing spike code (globe.js), but it's atrophied quite a lot as I've built functionality in tested modules.

This also includes some infrastructure stuff, like Squire for mocking require.js dependencies (see terrain.test.js for an example).