Only ignore files in top directory.

For some reason, git ignored all subdirectories. This fixes it.
Add and init script for debian.
Add a logrotate script.
Do not print daemon's pid after forking if a pidfile is used.