Explicit the fact that closed connections have undefined status
Dropped unneeded pass in test
Fixed overflow opening a lobject with an oid not fitting in a signed int

Fixes :ticket:`203`.