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
that was regarding rollback. After an operation fails during transaction is rollback necessarily the best thing to do?