Add an event manager using GenEvent

The Registry now sends messages to an event manager when it creates a
new bucket and when it stops.