More target split fixes (#1495)

Avoid importing `test_api/test_api.dart` from `test_core` except in
`test_core.dart` which re-exports it. This allows a separate
`test_core:scaffolding` target with limited transitive dependencies.

Add back `test_api/lib/src/remote_listener.dart` to reduce churn.
2 files changed