Fix problem discovered in the JDBC driver with Binary encoded dates

older than about 1940 being encoded wrong because of int vs long
rounding issues with intermediate results. 
Leaving the trace logging row outputter for other debugging purposes.

The PostgresBoundQueryContext() does honor the client (JDBC Driver in this case) request for using binary mode for data transfer. The dates were encoded wrong, and the tests fail. With this fix they now pass.