add umd support

Adds simple umd support like component had (duojs/duo#360).
We can back this feature with `duo --standalone <name>`, `duo --umd <name>`

@MatthewMueller @stephenmathieson
looks like we should remove `[':entry']`: http://requirejs.org/docs/api.html#deffunc