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

--HG--
extra : source : 13df6d0f4059061f0caf72d83db4ef22a34444ee