Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
No. It doesn't make the selection disappear. I would have made that clear in the `getCurrentState` description in the docs if that was the case.