Add registration handlers on the event bus. Fixes vert-x/mod-lang-js#1

The event bus accepts a function that will be called when all nodes in a
cluster have registered or unregistered a handler. This commit just adds
support for that.