Use reflection to access TestContext

Use reflection to access Spring's TestContext to protect against
IncompatibleClassChangeError caused by the fact that it changed from
a class to an interface between Spring 3.2 and 4.0

Issue: #46