add trace to database error-log-message (it just helps a lot finding the error); fixed queries in fpm und fcgid class; minor cosmetic changes

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>