Refactor home page filtering in pages_controller

Nice that you remove the filters_present variable. But there is one spec failing:

PagesController GET /pages when searching pages assigns filters variable
     Failure/Error: expect(assigns[:filters_present]).to be_truthy

This spec can be removed because the 'filters_present' variable is only used in comfy.