server: added CouchDB support
server: added DbExceptionMapper