HUE-1817 [beeswax] Add testing helper for the new API

Testing helpers are changed to work with the new API.

1.
Run query until end (will get 'error' if basic error, e.g. SELECT BAHHH)
    response = _make_query(self.client, QUERY, name='select star', local=False)
    response = wait_for_query_to_finish(self.client, response)

Will get 'error' if error (e.g. create table that already exist) or statuses from watch_query_refresh_json() API.

2.
Fetch result
    content = fetch_query_result_data(self.client, response)