Rearrange tests (whitespace change)
Serve the global HTTP statuses for homepages

Had to pull the global behaviour to before the Homepage condition. Doing that
meant that the /404 /410 pages no longer worker when there was a global
redirect.

As a bonus, the code now feels better factored.