Remove dependency on dojo/data/util/filter, since dojo.data is deprecated.   I had to duplicate the patternToRegExp() function but when written concisely it's only a few lines (excluding comments).  Refs #16585 !strict.