port numeric_send from postgresql server sources

This fixes truncation of DECIMAL/NUMERIC numbers.
Fix ignored scale on returned numerics

For example the numeric '50.34' in the db would be returned as '50.3400'. A
test for this has been added.
Merge pull request #13 from tlocke/trunk

Merge PR to improve numeric_send and handle scale on decimal objects property