Change TodoMVC to not modify state in place

Instead, use .concat and make a new todos array.

Test Plan:
Added todo items in both examples successfully.