Modified game system to use Django templating

Put templating techniques into game.html and game.js, streamlining the
stage loading process by loading stage data directly into the javascript
code during loading instead of making an additional request via JSON.