Couchdbpluginbugs

the couchdb plugin had some if/else errors => fixes
couchdb plugin operations always return a ServerError if in error