Move gethostname() to where it is used
Remove broken binding of http_port when embedded in servlet container
Create embedded webapp configuration with servlet context
Start and stop app when embedded more like when standalone, using AppServicesManager
Only bind JettyAppService into AppService set in JettyModule -- omit it when embedded
Omit all Jetty artifacts when running embedded within Tomcat