Generic base class of GS2MGSearch and GS2MGPPSearch. Implements shared functionality: configuring a textQuery service, with case folding, stemming, "some"/"all" matching, and a maximum number of hits to retrieve. This class is intentionally specific to the abilities of MG and MGPP, and is not intended to be subclassed by any other search engines.