Fix error handling and clean up controller.

Applies https://github.com/codeforamerica/ohana-web-search/pull/521
from upstream.
Don't include blank parameters in search results page title
Merge pull request #46 from smcgov/error-handling

Fix error handling and clean up controller.