(#2867) - do not stack notify change listeners

New, squashed pull request of https://github.com/pouchdb/pouchdb/pull/2867 to see if green.