Color total warning count depending on number of warnings

If there are no warnings, the output will be green, otherwise it will be
red.

Fixes #287
Merge pull request #289 from gilles-leblanc/issue-287

Color total warning count depending on number of warnings