Modified gamestate to evaluate at a time t and made toJSON call evaluate at time 0. Also made TEST actually exit with a status of 1 when either of the testing lines fails.
Merge branch 'master' into gamestate_evaluate
Merge pull request #16 from hellochar/gamestate_evaluate

Modified gamestate to evaluate at a time t and made toJSON call evaluate...
Fixed merge conflict in TEST, coverage returns the exit code correctly