do not accept out of bounds PRI values

further reference: CVE-2014-3634
add invld.* selector, fix problem with previous patch
Merge branch 'v5.8.6-prifix' into v5.8.13-prifix
bugfix: improper handling of invalid PRI values

references: CVE-2014-3634
Merge branch 'v3-stable-prifix' into tmp

Conflicts:
	action.c
	runtime/rsyslog.h
fix compile problems and cleanup

most importantly, we do no longer use the LOG_FAC() and LOG_PRI() macro
names, which may conflict with systems names and may act other than
expected by a user.
fix wrong patch

comment was unended, was pure accident it compiled...
Merge branch 'v3-stable-prifix' into tmp

Conflicts:
	runtime/rsyslog.h
Merge branch 'v5.8.6-prifix' into v5.8.13-prifix

Conflicts:
	plugins/imklog/imklog.c
Merge branch 'v5.8.13-prifix' into v5-stable-prifix

Conflicts:
	plugins/imklog/imklog.c
	plugins/imklog/ksym.c
	runtime/rule.c