Hive 0.11 compatibility

Initial commit of support for Hive 0.11. This compiles and runs as expected, passing most regression tests, though more thorough testing is still in progress. Does not yet include support for new Hive 0.11 operators (e.g. PTFOperator) or new stats features.