Allow editing documents from view

Closes COUCHDB-2494
Why did you remove the safeURLName? Don't we need it here?