cleanup: remove practically empty file
rewrite pid file handling

simplify code, fix bug that pid file is not checked on interactive
startup and also helps with the ASL 2.0 project

see also https://github.com/rsyslog/rsyslog/issues/82