added support for 'less is worse' thresholds

Sometimes you want to express 'less is worse' thresholds. That means setting the error threshold below the warning threshold. The problem was, that the error marking always went up to +Infinity. Concerns 16599a07a936569bfaabbcc57cf8087a01132cfa.