Auto show analysis when completed [COGE-244]

When an analysis is run with autogo a load dialog will appear
and either the completed analysis will be return or the analysis
will be started.

* Fix dialog running dialog displaying fields when reopened
* Return json for get_results
* Add an error check to get_query_link
* Loader spinner displayed when autogo is set