Added PDO-based implementation of the new DB API.