slightly improved error message
ommail: add support for RainerScript config system [action() object]

This finally adds support for the new config style. Also, we now permit
to set a constant subject text without the need to create a template for
it.
We also did some nitfixes.
Add support for day-of-year (ordinal day) time formatting
Now that we have the ordinal day, we can easily get the week of the year. Expose that.
Refactor unix time_t code with a giant table lookup :)
convert getOrdinal to table lookup as well.
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
fix build problem on platforms without atomic instructions

Thanks to Michael Biebl for his very helpful analysis of the bug.
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