Feature/couch

A bunch of changes to support plain couchdb with mirrors
because this is a define, you shouldn't have a hard-coded resource name here, otherwise it will result in duplicate resource definition errors and fail. Usually people solve this by putting the ${name} variable in the resource title. 

If I am understanding correctly, this is meant to be generic and not specifically tied to couchdb, so removing that name is probably desirable for that reason as well