Add Symfony EventDispatcher as an hard dependency
Merged StateMachine and ListenableStateMachine classes