HUE-1219 [impala] One page app

Removing all the mako template logic and moving to front end.
Added APIs for Beeswax.
Moved a bunch of logic from wait_results.mako and watch_query.mako
to execute.mako.
Explain uses one API now.
Make settings, file resources, and functions managed by front end.