Fix bug with missing query

If there is no query then we don't need to add the extra context data
for person and organisation searches.
Add tests for south africa custom search view
Override the whole template for the search page

As we're changing lots of this layout it's simpler to have it all in one
place under the south africa app.