Remove metastore related code

This pull request removes all the metastore related code from the shaded hive jar.