extension: add an entity_state_machine, based on the implementation of Ash
state machine: fix runtime error
Merge branch 'dev_fsm' of git://github.com/davidB/dartemis into davidB-dev_fsm
added a test for the EntityStateMachine and made some minor modifications