Support inner classes in TestFxApplication extension

At the moment we require Application to be a static class. It should be possible to support inner class as well.

See https://www.baeldung.com/java-reflection-instantiate-inner-class for example.