Added event-dispatcher to dev dependencies

There's a typehint on the EntityManager's setDispatcher method
that will cause a warning if the type (EventDispatcher) can't be
autoloaded.
Test console runner with mock application