fix for cmsweb couchdb deploy. Close #123.
add optional database connection details for dataservice. Close #125.