Handled unparseable search URIs and unknown parameters in search URIs.
Canonicalized search URIs in a single redirect.
Refactored search and search_data routes to a single wildcard segment.
Corrected order of params in URI constructed by search form Javascript
(eliminating an unnecessary redirect).
Extracted PhotosSearchSupport.
Inlined a template variable.
Tested that Photo#search handles pages after the first.
Moved default search parameters into the model.
Refactored Photo#search to take only required keyword arguments.