Change type hinting for EventDispatcher to EventDispatcherInterface, as symfony 2.5 sends a debug version of EventDispatcher