Fix: Check for FxCop messages with the level Error

In the FXCopHelper it was never checked if there were any messages with the error level. Instead two times the ciritical errors were checked.