Fix tests for LifecycleEnvironment.
Move Jetty setup to dw-jetty.
Move Environment to setup.