Added edit mode

As outlined in #149, add a separate edit mode. This allows roundtripping html on edit instead of edit in place which is progressively changing content.