Add option to fail the task whilst generating a report file

I'm using Grunt with TeamCity to build our JS sources. I'd like jshint failures to fail the grunt build, whilst outputting the jslint style xml report for TeamCity. 

As the plugin stands, the task will always succeed when the results are written to a report file. I've added an option to control this behaviour.