Add mock event_dispatcher class from phpbb tests