ClassPathResource factory and JarResource Factory

There is way too much duplicated code in this class and in ClassPathResource.java.  Need to combine the common code into a single base class and have one or both of these classes extend the common base class and modify the behavior as needed.