detect_well_known_errors - Sort by bugged status first.
Change known_problem INCLUDE and EXCLUDE to PATTERN and EXCLUDE_PATTERN.
detect_well_known_errors - Validate known_problem field names.
detect_well_known_errors - Only use valid known_problem files.