Implement an event system in the GitHub hooks

Presently, there are hard coded checks in the `ReceivePullsHook` class to do custom processing for the `joomla-cms` repo which is not optimal in that we should not be hard coding this type of activity into our structure.  To allow for a more dynamic solution, this pull implements the framework's Event package into the hook controllers and registers the dispatcher globally via the application object.