ENH: observers of undo/redo in legacy editor
Editor extensions that needed to hook into the undo/redo functionality needed to connect to button signals, which is fragile when the editor is embedded in another module.
See discussion here: https://github.com/QIICR/PETTumorSegmentation/issues/10
With this change the extension effect directly observes the undo/redo class. Multiple observers can be used.
The older callback API is left in place for backwards compatibility.
The PETTumorSegmentationEffect is being updated to use these new calls.