fixed ability to set moduleScope to "global"
Merge pull request #64 from aleksandrov/master

Fix for setting $config.moduleScope to "global"