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