Fixes event handler registration (shutdown)
Use event emitter to submit query events to other clients
Removes object subscriptions of query results, works subscribing queries only
Some refactoring
Refactores notification callbacks
Refactores client
Adds doc comments
Refactores tests
Adapts to refactored specs
Adds MongoDB backend
Adds travis config + test runner script