Errors: Support a filter to control which errors are reported

Fixes #335
Please wait for #731 here, there is another way to configure these cases (for both StringChecker and Checker separately).