Implemented IModel and changed IController

Made changes to the IModel and IContoller so that state of view can be
accessed
Merge branch 'master' of https://github.com/QJiePing/cs2103aug2014-w10-2j