work on replication of assessments; pouchdb bugfix for paging of docId's