RelatedSearchQuerySet: move class globals to instance properties

This caused obvious failures in the test suite and presumably
elsewhere when multiple RelatedSearchQuerySet instances were in use