JEventDispatcher::register

Registers an event handler to the event dispatcher