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.

Only load known problem configuration files with correct fields
defined.
Merge remote-tracking branch 'dave/issue-sort-fixes' into develop
dwke: don't compile missing pattern

and avoid a KeyError

Signed-off-by: Andreas Beckmann <anbe@debian.org>
dwke: put empty line before first bugged or affected log

Signed-off-by: Andreas Beckmann <anbe@debian.org>
work around lirc prompting for modified conffiles

#655969, wheezy-ignore

Signed-off-by: Andreas Beckmann <anbe@debian.org>