fix(core): do not wait in case state was already reached
fix(core): register contract after first state was executed
Merge pull request #55 from Rutherther/feat/contracts Add contract system
feat(game): add timeouts to contracts
feat(core): add basics of a contract system