added core functionality for starting a new game.
Re-wrote most of the prototype using tdd to create the initial real js for the game.
Merge branch 'dev'