Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
More than a month later, I do mind. I don't want it on this PR. The question is, should it stall this or not.