I think we should move `mem3:dbname` into `couch_util`, now that clustering is a core part of CouchDB. This basically just allows you to get the dbname out of the db record, and it will strip out the shard info leaving only the name, as `ddoc_cache:open` operates on databases, not shards.