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
Merge branch 'v5-stable-prifix' into v7-stable-prifix

Conflicts:
	plugins/imklog/imklog.c
	plugins/imtemplate/imtemplate.c
	plugins/imuxsock/imuxsock.c
	runtime/msg.c
	runtime/rsyslog.h
	runtime/rule.c
	runtime/syslogd-types.h
	tools/syslogd.c
Merge branch 'v7-stable-prifix' into v8-stable-prifix

WARNING: does not compile, will be fixed with next commit

Conflicts:
	configure.ac
	tools/rsyslogd.c
prevent compiler warnings
Merge branch 'v7-stable-prifix' into v8-stable-prifix
fix compile problems

unfortunately a bit dirty, at least as far as NFACILITIES define is concerned.
I could not find any clean way to get off64_t type definition so that I could
simply use rsyslog.h :-(
Merge branch 'v7-stable' into tmp

Conflicts:
	runtime/syslogd-types.h
consistent handling of invalid pri value
Merge branch 'v7-stable' into v7-stable-prifix
Merge branch 'v7-stable' into v7-stable-prifix
Merge branch 'v7-stable' into v7-stable-prifix