more generic regex to know which resources we should read from webapp and which ones from target/classes. Can still be refined

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