Convert todo.coffee to RequireJS format.

Couldn't get UMD to work when todo.html built into a single file.
Something to do with with anonymous defines...

Instead, use RequireJS AMD definition and require into node code via r.js
adapter.