Allow editing documents from view
Closes COUCHDB-2494