Make React TodoMVC more MVC-ish

Some people get confused about how to use React in a more traditional way. This updates the React example to move the data access outside of the component.