Add edit functionality for todo item.

- Change todo listing to inputs.
- Add editTodo angular function.
- Change update api method to accept update titles as well.