Fixed ResourceHandler to correctly handle resource from classpath

Modified again the resource handler, now it returns correctly resources from the jar classpath.

Issue #76 should be ok now.