better handling of options for MyCouch; don't run stats daemon by default (can be enabled with ?stats=true or ?stats)
options weren't even working - seems that I never tested that ;-)
Now the do work.
remove debug output
and another fix for options
add CouchDatabase and CouchRecord classes and test them; many bugfixes in couchlib to make the tests work
remove CouchView class because we don't need it (similar features available in the Python CouchDB lib)
couchlib supports temporary databases
move most of debug_stop into couchlib because it will be useful for other tests
allow "data" and "db" in records, update method for records, automatically wrap raw data in a record object for db[key] (but not for views - see comments in the source)
Couch backend uses couchlib; backend has a simple test now (but getmessagelist is not tested because I don't know what it should return)
Couch backend: time is returned as seconds since epoch (like the other implementations), getmessagelist() returns something that looks similar to the other implementations
implement uidexists, getmessageuidlist and getmessagecount, so they don't use getmessagelist, which rewrites the message list to match the format of the other backend implementations
couchlib: slash cannot be used to separate uri and dbname, so you have to use a hash ('#') --> consistent with the other schemes, we can detect errors in the uri, Couch doesn't have to live on the top-level of the server
couchlib uses the logging module instead of printing messages
bugfix for 1b6557ee5e7ba23f
don't print OfflineImap banner during test
more complex test for Couch backend: initial sync of Dovecot and Couch; further sync with changes is still to be done