Merge pull request #7 from tristanguo/develop

add requirejs plugin for replacing global variables with required module
Merge pull request #10 from tristanguo/develop

add support for old versions of requirejs (older then 2.1.0)
Add write to shadow plugin
Merge pull request #1 from troopjs/develop

Merge back