Added route to update a todo
Added tests for ajax functionality, I strayed from TDD with that!