Sanitize page and per_page in SearchController (closes #32).