Add state and rendering part of TodoMVC example.

Missing: main function that hooks up the virtual-dom renderer and the event
handlers with the app-state transitions.

(Might not yet compile.)