db.php: added function
    - dbGetPDO(): get the global PDO connection object
Signed-off-by:Georgi Krastev <joro.kr.21@gmail.com>