Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
Don't cut the branch you're sitting on in row removal.