Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
Don't wrap a `p` around images in the body in Gecko.