Add a unified way to initialize apps in and out of WildFly

The new ApplicationRunner (better name welcome) unifies logic needed
to bootstrap an application whether running inside of WildFly or via
an executable jar.