BUG: Fixed excessive memory consumption in the undo/redo buffer of the Editor module (http://www.na-mic.org/Bug/view.php?id=3283)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22284 3bd1e089-480b-0410-8dfb-8563597acbee