Got basic querying with prepared statements to work.

However only a very limited subset of the required functionality is implemented, it can however run very simple queries and return the results.

Somehow though it seems as if the destructor of PDOPgSqlStatement is never run, I need to investigate that some more as well.