IMPALA-816: Fix JDBC getFunctions API.

Change-Id: I452306be05363cfb1502dd6a2f82cdf84dfad35b
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1749
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins