Added numeric out test that fails
port numeric_send from postgresql server sources

This fixes truncation of DECIMAL/NUMERIC numbers.
Fixed numeric trailing zero bug.

Fixed bug where trailing zeros appended to some numeric values on
retrieval.

Tidied up source with pyflakes and pep8