little refactoring to share tomcat hosts and select webapp checking classloader too, side note: jaxrs services is started too early to allow to get Server in components :(

git-svn-id: https://svn.apache.org/repos/asf/tomee/tomee/trunk@1595019 13f79535-47bb-0310-9956-ffa450edef68