Update indexes when datastore documents change
Merge pull request #21 from cloudant/29187-indexing-up-to-date

29187 update indexes on create/update/delete of documents