Remove CouchDB support from the tree.
Several fixes to nosetests, specfile and Makefile.