target-test-runner: exclude package and log4j jars

Fixes #12114.
Merge pull request #1080 from melissalinkert/test-runner-classpath

Exclude log4j and packages from target-test-runner