Removed useless logging
More reorg of the code
Added stubs for recording refactorings
Wired the listener to the stubs
Correctly clearing the refactoring flag
Code for recording a refactoring
Added test for undo