plugins: Remove $(RSRT_LIBS) from imuxsock's LIBADD

imuxsock.c plugin uses some functions from sd-daemon.h that are
compiled as part of librsyslog.a. Including $(RSRT_LIB) to the LIBADD
variable on these plugins means that we are linking librsyslog.a
statically into that plugin. Nevertheless, the rsyslogd binary
already includes most of the librsyslog.a and exposes its symbols.
Because of this, we can let those functions undefined in the plugin
.so file and let dlopen() link those undefined functions against the
global symbols from rsyslogd.

This patch removes the static library from imuxsock.so and ensures
that all the objects from the librsyslog.a are included on rsyslogd.
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.
fix some typos in comments
Refactor unix time_t code with a giant table lookup :)
convert getOrdinal to table lookup as well.
kick off 8.5 branch
Merge branch 'v8-stable'

Conflicts:
	ChangeLog
Merge pull request #93 from deymo/tot-imuxsock-shrink

plugins: Remove $(RSRT_LIBS) from imuxsock's LIBADD
GCC complained about implicit declaration of gettimeofday.
Don't lose uncommitted data on DB retries

Backport ompgsql2 patch to avoid losing uncommitted data on DB retries.

Bugzilla bug for this issue: http://bugzilla.adiscon.com/show_bug.cgi?id=528
Original ompgsql2 patch: http://bugzilla.adiscon.com/show_bug.cgi?id=453#c5
Merge branch 'v8-stable'
Merge pull request #113 from darix/implicit-declaration-for-gettimeofday

GCC complained about implicit declaration of gettimeofday.
include remote host ip in some tcp server error messages

Note: this patch is released under ASL 2.0, see:
http://lists.adiscon.net/pipermail/rsyslog/2014-August/038280.html
remove unnecessary check

In case if it actually is necessary in practice, we need to find
out why, because the property should never be NULL. If this somehow
happens, we need to fix that or find at least a better spot for a
fix.
Merge pull request #108 from chris-martin/typo

fix some typos in comments
impstats: add "bracketing" option
Merge branch 'v7-stable-bracketing'