Inherit configuration from the current test class

The current test class may be different from the declaring class of the
test method if the test method is in a superclass.

This makes it possible to have an abstract test class and then extend it
with multiple subclasses that specify different qualifiers in @Config.
Merge pull request #1135 from lp0/testClassConfig

Inherit configuration from the current test class