fix errors caused by -Wformat-security

(patch taken from the PLD Linux package)
Use _exit() not exit() in the daemon parent
'-f' option fix: fork before initializing subsystems

jggtrans would misbehave when daemonized (GG connection timeouts),
apparently because of some problem with resources shared between
the parent and the forked process. This patch fixes the problem
by initializing most resources after the fork()
Updates for new gettext and automake
Do not abuse g_error for config error reporting
Replace obsolete g_strcasecmp
dropping unused variables
Conver GTime to t_time before calling gmtime()
stop gcc warnings about unused enum values in switch()
Drop usage of the deprecated GAllocator