migrated lib/init.php to new PDO database class, no more  in the frontend now, refs #1287

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