Fixed undo/redo to determine if executed command has succeeded before
saving the updated state of the file
Merge branch 'master' of https://github.com/cs2103Taug2014-t09-2j/main.git