Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
`registerChange`, I mean. Its use is tested all over the place, in this PR.