Implements mainConfigFile in require.js config
Merge pull request #61 from sleeper/fix_54

Implements mainConfigFile in require.js config (fix #54)