A mixin for extending ampersand-model with pouchdb persistance.