Safe Resource Getter
object SafeResourceGetter
Provides safe and easy access to a resource. This will first try to get the resource from the class loader of the given class, and if that fails, it will try to get it from Class.getResourceAsStream and Class.getResource.
It also adds a slash to the path if it doesn't start with one.