Update the controller to accept the model and views as parameters.
Addede all test, and all test are passing.
On success, rather than use the returned response from the server, the local 'todo'
is added to the list.