Huge refactoring. Application is fully reloaded by HUP. Log files hell
is fixed. Options and application configuration is now immutable as 
should be in concurrent application.

Logrotating is temporally disabled (some bug with catching USR1 and
USR2, that blocks other handlers).

Also need special check for freeing postgresql resources, after second
restart it runs out of connections.