Tighten up check for objects on couchdb. instanceof seems to fail occasionally, so also use typeof in gaurds
Bump to 0.0.19 for bugfix on instanceof