cowboy/grunt — pull request #332 by ArturDorochowicz (2012-08-01 18:16:11+00:00)
Title: Prevent JSHint from reporting BOM as unsafe characters.

Function grunt.file.read preserves Unicode Byte Order Mark on read
files. This is reported by JSHint as unsafe characters. This change
manually removes BOM from the source before handing it to JSHint.

This mimics similar change in node-jshint:
https://github.com/jshint/node-jshint/commit/b3fd586d7e136b16856bdb84ac2260f2250fca30