Add the FOAM version of TodoMVC

See #913 for discussion of FOAM and this implementation.