Adapt PDO implementation to new HHVM version

Hi. I replaced NEWOBJ() by newres<> and fixed pathes so it can work with new version of HHVM