Add _local_docs and _design_docs handlers

COUCHDB-1145