PostgreSQL Extension

Implements the pgsql extension from zend with a few minor differences.

* The connection handle isn't optional
* Connection sharing is not implemented
* A handful of esoteric APIs are unimplemented

This uses HNI, but due to issues with linking, the IDL file still exists and references the aforementioned unimplemented functions. This seemed to be the least bad option.

Should close #806