Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
This normalized behavior across browsers, as some browsers add a `br` in empty documents.