make couchdb handling more robust and add edit button (which doesn't do anything yet)
abstract out renderPage functionality so it can be reused by edit function
make generic function for requesting from couchdb
create simple edit form