When using VALUES inside INSERT, types of values are determined by the target column types. This prevents spurious trailing spaces when inserting character literals into VARCHAR columns.

Match API changes to Linq4j.getComponentType, and fix bug when generating arrays of synthetic objects.

Add SqlFunctionsTest.
Remove some uses of openjava.
Move ColumnMetaData to top-level. Improve translation of literals.