feature: Add AMD/UMD/CommonJS module support. Prepare for bower
Merge branch 'module'