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
Merge branch 'v8-stable-backgrounding' into v8-stable