game.js: refactoring to eliminate duplication. Refactoring not complete. Extracting game state from view.
testing.js: tests written to test during refactoring.
SpecRunner and all other new files not specified relate to Jasmine and testing.