AUI-1104 Extending Undo/Redo module with a few useful functions

These utilities were added to Undo/Redo:
(1) Clear history
(2) Can undo / can redo
(3) Undo peek / redo peek