factored out support for webapps from JettyDaemon

This will allow use of JettyDaemon for applications where
there is no webapp: for example, a web service that is just
exposing some small number of servlets.