Copy some test cases from TestBeeLineWithArgs to SqlLineTest, using hsqldb instead of HiveServer2.

Add hsqldb as a test dependency of hive-sqlline; fix some minor stuff.
HIVE-5155 : Support secure proxy user access to HiveServer2 (Prasad Mujumdar via Thejas Nair)
HIVE-6652 : Beeline gives evasive error message for any unrecognized command line arguement (Xuefu Zhang via Ashutosh Chauhan)

Add '-r <file>' command-line argument to allow to connect using a specification in a properties file. Previously '<file>' achieved this.
HIVE-5768 Beeline connection cannot be closed with not close command (Navis Ryu via Brock Noland)
Beeline throws ArrayIndexOutOfBoundsException for mismatched arguments (Szehon via Xuefu)

Adopt commons-cli for command-line options parsing.
HIVE-6684: Beeline does not accept comments that are preceded by spaces (Jeremy Beard via Xuefu)
HIVE-7176 : FileInputStream is not closed in Commands#properties() (Navis via Ashutosh Chauhan)
HIVE-7200: Beeline output displays column heading even if --showHeader=false is set (Naveen Gangam via Xuefu)
Rename TestBeelineArgParsing to SqlLineArgParsingTest.