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
imfile: could make rsyslog exit if in inotify mode
imfile: add support for dynamic state files
imfile: better messages when state file cannot be read
add capability to deprecate config parameters in config handler
imfile: deprecate "statefile" parameter

also fix some issues that resulted from a partial previous commit
imfile: milestone: file is picked up again after being deleted
imfile: simplifications thanks to better use of inotify events
imfile: better wildcard detection
imfile: handle wildcards correctly *on startup*