Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
Here are some undo/redo specific tests.