Add WildcardQuery functionality

Following the style of the `QueryStringQuery` class.