Add logging of game events for analysis (StupidRobot)

This series of commits adds event-logging to StupidRobot, to be used for gameplay analysis. These events include:
 - button presses
 - keystrokes
 - game responses
 - images displayed
Event logs are stored as individual files on the server in www/analytics/[GAME_NAME]/