Moving PGNumber to the PGObject base type equivalent.
Fixing bug 1179

--HG--
extra : source : 13df6d0f4059061f0caf72d83db4ef22a34444ee
Merge pull request #277 from einhverfr/master

Merging in 1.4 changes, and more