Use system class loader as a fallback to load version number resources

Sometimes, users put Xalan is on the bootstrap class loader (BCL). In
this case, Version.class.getClassLoader() returns null. I.e., we should
fall back to the system class loader, because there is no Classloader
instance for the BCL (native code). Due to class loader hierarchy,
however, the resource will also be found when asking for it from a level
below the BCL.

Relates to #125 and XALANJ-2710. Fixes corresponding smoke tests on
xalan-test.
2 files changed