HUE-1286 [impala] Support settings with HiveServer2 API

Works both for HiveServer2 and Impala