cowboy/grunt — pull request #327 by ArturDorochowicz (2012-07-31 19:14:12+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