Add tests for CDTDatastoreChangeNotification event firing

This event should be fired for create, update and delete. It can be
on a specific datastore, or globally.

This also fixes a bug where updates didn't fire an event.
Document datastore events in docs/events.md
Merge pull request #33 from cloudant/28682-events-docs

Add documentation for CDTDatastore change notifications FB28682