Add couchdb as a dependency.

Closes: #3601