Added null and empty checking in EditCommand.
Merge branch 'master' of https://github.com/cs2103aug2014-w11-1j/main.git