bugfix: prevent another endless loop in the ratelimiter

The message that reports how many messages were lost due to
ratelimiting was sent before reseting the state that led to it. If it
itself got ratelimited, this could lead to an endless loop.
bugfix: prevent calling tellLostCnt() twice
[io]mrelp: support for certificate parameters
Fix rsyslog.service to comply with systemd recommendations

Those are documented here:

http://www.freedesktop.org/wiki/Software/systemd/syslog/
systemd: use service type notify

There is a time window, between rsyslog reporting syntax
errors and the daemon returning with failure, this may cause

systemctl restart rsyslog to not report any error inmediately
but later in the logs which is confusing to users.

The appropiate steps to correct this annoyance is to notify
systemd with a simple sd_notify(0, "READY=1"); just before
entering the main loop.

Tested in openSUSE 12.3/13.1 x86_64
bugfix: prevent a segfault if state file is not defined
doc: mention contributed patch in ChangeLog
cleanup
doc: warn about using imjournal

do to bugs in systemd, the module can lead to a DoS to the local machine
Merge branch 'v7-stable'
imjournal: add ratelimiting capability

The original imjournal code did not support ratelimiting at all. We
now have our own ratelimiter. This can mitigate against journal
database corruption, when the journal re-sends old data. This is a
current bug in systemd journal, but we won't outrule this to happen
in the future again. So it is better to have a safeguard in place.
By default, we permit 20,000 messages witin 10 minutes. This may
be a bit restrictive, but given the risk potential it seems reasonable.
Users requiring larger traffic flows can always adjust the value.
Merge branch 'v7-stable'
imjournal: add legacy config statement for ratelimiting
Merge branch 'v7-stable'
doc: improve imjournal doc and add ratelimiting paramters
Merge branch 'v7-stable'
doc: add journal presentation link to omjournal doc
doc bugfix: DynaFileCacheSize description in omfile was wrong

thanks to David Lang for alerting me.
doc: add journal presentation link to omjournal doc
doc bugfix: DynaFileCacheSize description in omfile was wrong

thanks to David Lang for alerting me.