Fix regression caused by DRILL-521

DRILL-521 moved to metastore.api.Table from ql.metadata.Table which caused
failures when reading Hive tables that have schema given in SerDe properties
such as avro. Revert to using ql.metadata.Table.
Fix execution of tests that are run multiple times.

Due to separation of some test in TestJdbcQuery into TestViews and TestMetadataDDL
which are derived from TestJdbcQuery, all tests in TestJdbcQuery are run thrice.