Add support for creating Hive tables to query the output of an
analysis operation, and fix a lot of the HCatalog stuff while I'm at it.