[ty] Exclude test-related symbols from non-first-party packages in auto-import completions
This reduces noise when typing, as test code from dependencies is
almost never useful to import.
Note that first-party code is never filtered, so that users can still
import from their own test modules. Top-level "testing" modules like
`pandas.testing` are preserved since they provide utilities meant for
external use.
Closes astral-sh/ty#2466