Make global-showdef a DirectTest

The test test/files/run/global-showdef.scala was outputting
to the cwd instead of the test output dir.

Good behavior is now inherited from DirectTest.

Test frameworks, of any ilk or capability, rock.

Issue was revealed by https://github.com/scala/scala/pull/4024

Review by @retronym