Support for class-based messages

I figure if you can specify a class-based rule, it makes sense to also
allow a custom message for that class-based rule by class, just as you
can for a custom static rule.
Fix jshint error