Adapt for Symfony 2.4

Change EventDispatcher fot EventDispatcherInterface to adapt dependency injection for Symfony 2.4