Improved gruntfile, separated out requirejs config (main) and the application root (app)