Added CouchDB dependencies to CMS and Templates