[wip] Factors pixi stuff in game.js into graphics.js

Also adds some handy utility methods to utils.js, wrapped in an object
that I'm calling 'js' for now (as in 'javascript').

The game is now initialized and started in index.html, instead of cave generator demo.
Made it easier to switch back to the cave demo.