Updated the update and delete methods in the Controller and Data

The update and delete feature now to supports three different kinds of
tasks
Merge branch 'master' of
https://github.com/cs2103aug2014-f11-1j/TaskCommander.git