[CDH4] IMPALA-1263: Add -t to Jdbc client

This patch backports some changes from CDH5 that allow the Jdbc client
to use '-t' to choose the transport type (SASL or NOSASL).

Change-Id: Ic93ca64c09e3ffb9984ebf60491a4405ee85fa4b
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4382
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins