Initial pass of integration of editor with game client code
fix specs for gamestate
Add tests for Map Editor
Move toJSON and GameState.addUnit into gamestate.js
Call other toJSON()s directly instead of relying on JSON.stringify
Made JSON<->Map<->GameState conversion more explicit

Added another test for toJSON/fromJSON interaction

Moved instance methods into their protocols

The map editor test now instantiates a GameState object directly for
testing instead of relying on fromJSON
Merge pull request #11 from hellochar/integrate-map-editor

Integrate map editor