Update pouchdb dependency to version 2.0

Let's see what it takes to get this to work.