Move require configuration to a new main.js file

Fix for #5869

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 pull request also changes the hard-coded file system impl path to a new require
path defined in the configuration.