Start to handle all JARs in the same way.

There's an ignored test because I haven't quite figured out how to dynamically create a fat jar.

I'd like to be able to get resources at any level from the fat jar (hence the loop), but currently it will only work for the Spring Boot-style 3-level hierarchy. Still, it's a start.