Bring search results template in line with view property.

Made sense of error handling from search-api. Although may
switch to responses lib at some point for what looks like nice
mocking of requests api.

Added/changed tests.