Move require configuration to a new main.js file.

This way the global require configuration is separate from the main brackets module,
allowing global configuration changes without requiring changes to core source.

This commit also changes the hard-coded file system impl path to a new require
path defined in the configuration.
Merge pull request #5908 from adobe/glenn/issue-5869

Move require configuration to a new main.js file