Externalize event registry.

Made it possible to register external custom events via external plugins..

This will help some plugins out there. Also making it so that they don't overwrite important events (Via adding a lock to a category)

Technically its still possible to do it via reflection but still.