Classpath resource normalization

This comes after realising that classloaders are not able to load templates resources from jars (third party jar) using the parent path selector '..'