Fix some issues between new requirejs and dojo.
Move promise 'each' function to server/utils/promises
Fix small issue with copyright plugin. It shouldn't add copyright header to .json files only to .js files.
Make the plugin loader error tolerant and make it log info about errors loading plugins.
Cleanup logging code in trailing-whitespace-plugin