Fix logging of bind values
Fix logging of bind values

ARJDBC code doesn't usually pass in the type_casted_binds which are the
actual bind values. There was a log() version that automatically did
it, but it was removed in a6dc679 to fix some Rails test failures.
Re-introduce that magic in a way that doesn't break tests.

Fixes #898

kares/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter