Merging in 1.4 changes, and more

https://sourceforge.net/p/ledger-smb/bugs/1179/ and 
https://sourceforge.net/p/ledger-smb/bugs/1180/

Also moves PGNumber to be based on PGObject::Type::BigFloat.