HUE-1197 [beeswax] Support explain with hive server 2

Impala support too