(#3) - Cloudant compatibility

Change the way a response is checked against errors. Check for `error`
property now instead of `ok` property.