PHP/MySQL database wrapper, extends PDO and PDOStatement