Build tweaks

 - Moved the config.js file into the root of the src and dist.
 - prevented the config file from being minified.
 - offloaded the js minification to a dedicated uglify task, which accepts more options than the require-js wrapper does.
 - Addded the banner to the top of the minified files.

(not sure what's up with all the mode changes)