Misc fixes

#172 
Small PR to make sure I did all the small stuff correctly
- Virtual dtors
- Old copy of xml before committing (#176 )
- Remove unnecessary task member variable in SerializationOperation
this should be in onTransactionRollback right?