neo4j/neo4j — pull request #315 by digitalstain (2012-11-21 16:45:01+00:00)
Title: Fixes listener addition/removal

Tries to get listeners to events to register on init(), be removed on shutdown(). That makes some nasty bugs go away by ensuring events
are not received when they no longer can be handled.
Fixes the ClusterClient life by adding an init() that was missing.
The above allow for the ClusterClient to be added to the life of HAGD as soon as it is created.
Touches up some tests.