Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
Maybe these are worth testing when you add container undo or typing undo?