Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
It is. It is the right thing to do. Backed by tests.