HIVE-7196 : Configure session by single open session call (Navis Ryu via Vaibhav Gumashta)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1601696 13f79535-47bb-0310-9956-ffa450edef68
HIVE-5160 : HS2 should support .hiverc (Dong Chen via Szehon)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1612978 13f79535-47bb-0310-9956-ffa450edef68

Conflicts:
	conf/hive-default.xml.template
HIVE-7209 : allow metastore authorization api calls to be restricted to certain invokers (Thejas Nair via Sushanth Sowmyan, Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1607753 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7353: HiveServer2 using embedded MetaStore leaks JDOPersistanceM…
…anager (Vaibhav Gumashta reviewed by Szehon Ho, Lefty Leverenz, Navis Ryu)

Merged to fit hive-0.13.1