Helper methods for resource loading

This PR adds URL-based `linesOf()` and `contentOf()` methods that can be used to load URLs returned from e.g. `ClassLoader.getResource(...)`.