Added a C structure to psycopg.Error

This will allow to store a PGresult in it.