Make it easy to switch the test suite between hsqldb and MySQL (and potentially other databases). Fix some issues regarding getting timestamps from MySQL via JDBC.

Stop hsqldb from turning on tracing. It causes a major performance impact in the planner.