HIVE-6570: Hive variable substitution does not work with the "source" command (Anthony via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1583147 13f79535-47bb-0310-9956-ffa450edef68
Beeline throws ArrayIndexOutOfBoundsException for mismatched arguments (Szehon via Xuefu)

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