separate pouchdb providers from ios

this allows provisioning vms with just pouchdb instances
docid fix and update to stat collector

further ensure uniqueness of doc ids
also add additional stats to print out at checkpoint