[pg] Add Connection abstraction
[pg] Add Connection abstraction

Only the methods used in the "submit" function from the following
projects were declared:

 * pg-copy-streams
 * pg-query-stream
 * pg-cursor

magny/DefinitelyTyped,borisyankov/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,magny/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,mcliment/DefinitelyTyped,AgentME/DefinitelyTyped,AgentME/DefinitelyTyped,dsebastien/DefinitelyTyped,markogresak/DefinitelyTyped,AgentME/DefinitelyTyped,borisyankov/DefinitelyTyped