Add QueryModel to import.
Allow callable that returns column to be passed in to search factory functions.

Moved to class base factory functions to make supporting this
functionality easier.
Add any_, notany_, has, and nothas search factory functions.
Add any and has to search docs and mention method of passing in callable.