Branch/blockly graph

Refactors the setting up of the 'state' object, and allows either the view or the model to set up the shared state information.

test with: mars-game -> blockly-graph