unregistering a handler + test

Kicked out the `unregisterHandler()` methods. `registerHandler` now returns a `RegisteredHandler` object, which you use to unregister a handler to get rid of the implicit conversion -> cannot find Handler in Java issue.