subject: yield correct results when globbing over a version.
tests: slightly simplify test_subject.py.
queries: allow glob matching in query.