Allow editing documents from view

Closes COUCHDB-2494
Sure np! One thing you can quickly try: load the page that contains the ViewEditor directly by clicking refresh in your browser. Next, try clicking into the page from another page. If there's something wrong you should see something bad happen with one of those scenarios.