New option added : failOnError

Once options.failOnError is true, then grunt.fail.fatal is executed if any javascript errors are detected by PhantomJS.