Update travis config, install deps.
More couchdb functions.