imfile: refactor naming
imfile: more naming refactoring
Merge branch 'master' into master-imfile
imfile: refactor active file table
imfile: non-wildcard file is read on creation even if it were not present at startup

see also https://github.com/rsyslog/rsyslog/issues/137
imfile: basically, wildcards are working

still work to do, e.g. the whole cleanup of wildcard-created
file entries is not yet done.
imfile: support for DELETE file notification
imfile: more consitent var naming plus enhanced delete processing

The code tries now to obtain more data from a deleted file before
it is purged from our own tables. If we are lucky, we still hold
a handle to the open inode.
imfile: milestone: simplify delete code

Unfortunately, this still does not work. It's hard to kepp the
approch with tables over to dynamic cases (and confusing). As such,
we intend to refactor this in the next step.
imfile: refactor "files" array to use doubly-linked list

The array did not support dynamic file monitors as they happen
when wildcards are supported. While of course we could have found
a way to make this work with the array, this would not have been
a proper solution - much more complex than needed. So we solve
this by using a doubly linked list.
imfile: more refactoring and fix invalid mem access in new code
first shot at auto-backgrounding by using a pipe instead of signals
fix problems with last commit, add timeout capability

also a bit of cleanup of no longer needed code
Merge branch 'v7-stable-backgrounding' into v8-stable-backgrounding

Conflicts:
	tools/rsyslogd.c
imfile: could make rsyslog exit if in inotify mode
imfile: could make rsyslog exit if in inotify mode
maintain ChangeLog
Merge branch 'v8-stable'
imfile: add support for dynamic state files
imfile: better messages when state file cannot be read