refactor file names; prepare for building

Refactor file names; prepare for building. You can now build the web
app with `grind build`. Some preliminary investigation into fast web
loading (now using script_inliner).