Allow editing documents from a view

-included:
Allow entire document card to be clickable for editing
clickWhenReady custom function for Nightwatch

Closes COUCH-2494