Shark 0.11 ojdk7

HIVE-3772: Amplab-hive patch ported to shark-0.11.
HIVE-5006: Refactoring so that PreparedStatement has the correct close method in Hiveserver2.
HIVE-5087: Rename a UDF due to legal issue with trademark.