Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
Add an undo/redo testing option to our manipulation testing helper.