Fix onTransaction commit implementation due to changes in Operation classes
Fix onTransaction commit implementation due to changes in Operation classes

cs2103aug2014-w10-1c/main,cs2103aug2014-w10-1c/main