Support querying of arrays on JDBC

Add support for querying java.sql.Array columns on underlying
JDBC tables.
Improve support for ARRAY data types.

If a column in the underlying JDBC database is an ARRAY, try harder to deduce its full type (e.g. "VARCHAR(10) ARRAY").

Improve type name reported for array columns to our JDBC client.