(#2281) - WIP - test against pouchdb-server

Here's a start.  Looks like we actually have lots of broken tests, even as early as test.basics.js.