enhanced pdo database class; migrated admin_logger and admin_traffic

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