(pouchdb/mapreduce#228) - fix phantomjs test

This is what's preventing the phantomjs
tests from running in Travis for express-pouchdb
and pouchdb-server.
(#3136) - fix changes() with style=all_docs
(#3136) - WIP - harder than I thought