refactor and add start of an edit page. Add update entry method to entrydb. Add update_entry event type.

--HG--
branch : noink