Modularize the search method dropdown for the filter form

This way any new filter type can simply include this module, define a single method, and have it just work.