Implement support for ClassLoader.getResource.

This works for all cases except when adding an InputStream directly to
the JarClassLoader, which I believe is impossible to address via a URL.
Handle case of missing resources properly.
Merge pull request #10 from b4hand/implement-partial-support-for-getresource

Implement support for ClassLoader.getResource.