adding AppFinder to get an information from either an AppContext or a WebContext depending of a classloader - this pattern is actually quite common and we need to not copy the code over and over anymore

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