Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
Specifically for the new insertion of a `br` in empty documents, but in general, as well, after loading a document with `html`, this should be done.