Umd wrapper refactor

It is #353 with a slight modification to give AMD picturefill the same foolproof backup as the picturefill global function.