Fix Couchdb response metadata handling
Merge pull request #201 from sgmentzer/master

Fix Couchdb response metadata handling