CouchDB namespace support

In the Doctrine CouchDB bundle, CouchDocument is the default mapping name. With this change, CouchDocument objects can have their base route generated automatically too.
Merge pull request #1838 from bangpound/patch-1

CouchDB namespace support