Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
These test cases are awesome. Much better than before! Well done. Gold, even.