Adapt for Symfony 2.4

Change EventDispatcher fot EventDispatcherInterface to adapt dependency injection for Symfony 2.4
Merge pull request #10 from dpcat237/patch-1

Adapt for Symfony 2.4