Externalize event registry.

Adds functionality to add custom events via external plugin.
Merge pull request #207 from coaster3000/coaster3000/externalEvents

Allow extensions to add new events