add umd (--standalone)

depends on duojs/pack#26, closes #360 

cc @MatthewMueller @stephenmathieson