If DB server isn't available, don't panic, just print error on stderr
New option -pidfile
Add an error message when pidfile can't be created
Merge pull request #4 from nemunaire/develop

If DB server isn't available, don't panic ; add -pidfile option for daemon mode