Support querying of arrays on JDBC

Please consider this change to allow querying java.sql.Arrays on underlying JDBC connections through Optiq (currently trying to query an array via Optiq results in a NullPointerException).

I've included a test in JdbcTest which opens its own connection to an in-memory HSQLDB to test array functionality to not alter the foodmart schema at all. All tests pass with this patch applied.