PDO convertion

Also what parameters the browseItems function needs
Converted bid.php to PDO
Merge pull request #27 from renlok/pr/17

Pr/17