Use namespace argument to select correct tree for the enum_docs request

COUCHDB-1145