Add parameters to couchdb class

Use top-scope variables in couchdb::params
Improve template