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.
bugfix: mmjsonparse did not build with json-c < 0.10

This was a regression introduced some time in the past in order to
support API changes in json-c. Now we check for the version and use
proper code.

Conflicts:

	ChangeLog
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.
Merge pull request #105 from dpocock/master

ommongodb: add sample PyMongo-based script to purge old records
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.
prepare for 8.3.5 release
begin new 8.4 stable branch
Merge branch 'v7-stable' of git+ssh://git.adiscon.com/git/rsyslog into v7-stable
Merge branch 'v7-stable' into v8-stable
kick off 8.5 branch
permit at-sign in variable names

closes: https://github.com/rsyslog/rsyslog/issues/110
bugfix: build failure on systems which don't have json_tokener_errors

Older versions of json-c need to use a different API (which don't exists
on newer versions, unfortunately...)
Thanks to Thomas D. for reporting this problem.
clarify status of sm_cust_bindcdr module
Merge branch 'v8-stable'

Conflicts:
	ChangeLog
fix build problem on platforms without atomic instructions

Thanks to Michael Biebl for his very helpful analysis of the bug.