Add response info and total into hosts API response

This is the minimum needed to make the response format consistent with
Whitehall's APIs, not including pagination which we don't need at the
moment.
Always return a JSON response for hosts index
Test hosts presenter in hosts presenter tests

The main logic for generating the response was moved from the
hosts controller into the hosts presenter, so the tests for it
should also be moved.