New API calls and fixes to parameter types
Merge pull request #172 from MrBigDog2U/master

PouchDB updates