Split requirejs config out into separate file

The preview server will now serve combined JavaScript files and uses
source maps to allow debugging the original source. Requirejs configs
are specified in config/build.js.