Report an error when CouchDB isn't reachable
Add a test in case of unreachable couchdb server.
Merge pull request #106 from spiral-project/detect-couchdb-failure

Report an error when CouchDB isn't reachable