Migration from Builder.py to Grunt (see discussion #1298)

This pull request includes a task from the previous #1298 (to remove calls to `console.log`) and also adds the header comment to the minified files and builds the flash file (including the CDN version).