For couchdb version of >= 1.1 use multipart requests to update the document attachments.
Enable http pipelineing if couchdb version is >= 1.2.0.
Move responsability of delaying the analyzes of change notifications from couchdb driver to client.

In the end this logic belongs there, because the analyzes it done on
per-connection basis. Also its much more straigtforward.