FLOE-206: Updated binding to pouchdb changes

Updated to the latest api for pouchdb changes. This seems to have taken care of the memory leak errors.w