Add Pause Function

Added function to allow "pausing" of undo to, which temporarily turns it
off without destroying its state. This allows us to switch into
different view modes without loosing our ability to undo changes.
Merge pull request #6 from Areson/feature-pauseUndo

Add Pause Function