removed unused global db-variables

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
migrated mailboxsize-cron to PDO database class, refs #1287

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