New debugging features

Introduced new debugging functonality which adopts itself according to
the set compiler flags. -DDAEMON will store debug output in /var/log/door_daemon.log
(an appropriate rsyslog rule must be defined!). Else the debug information is
outputted to stderr. Furthermore the globally used includes like stdio, stdlib, ... are now
concentrated in an own header file.