DERBY-2438: Remove JDBC30Translation and most of JDBC40Translation

- Replace references to JDBC30Translation constants with direct
  references to the corresponding constants in
  java.sql.ParameterMetaData where possible.

- Replace references to JDBC40Translation constants with direct
  references to the corresponding constants in
  java.sql.DatabaseMetaData and java.sql.Types where possible.

- Move the non-JDBC constants in JDBC30Translation to
  JDBC40Translation.

- Remove JDBC30Translation.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1488929 13f79535-47bb-0310-9956-ffa450edef68