fixes #215 - add AMD support
always export  to globals, to prevent breaking existing implementations
fixes #257 - add retina support
Merge pull request #256 from eighttrackmind/master

Add UMD support (AMD, CommonJS, browser globals), add retina support - fixes #215, fixes #257