Add task to remove console.log (see #1147 & #1243)

Added a new Grunt task to the build process to remove `console.log`
statements. This is important for production since, in some versions
of IE, the `console` object is only created after opening the
Developer Tools.