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