add possibility to use root-mysql-connection to new database class

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
ehance new PDO database class

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