bugfix: omelasticsearch does not work with broken/changed ES 1.0+ API

closes: https://github.com/rsyslog/rsyslog/issues/104

IMPORTANT: This is untested, as setting up the env is quite some pain
for me. I push this in order to get feedback from a couple of folks that
have committed to test out the patch. Do NOT consider this fixed until
it has been merged to the official "v8-stable" (or above) branch.
Merge branch 'v8-stable' into v8-stable-es-fix

Conflicts:
	ChangeLog
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