Fixes #2232 - speed up Host view via AJAX

I split off the heavy queries to AJAX loading so that the host view is presented while the server is still looking up various details.
```def method_name (parameters)``` -- parentheses around parametres