Fix for GRAILS-9610 "DevelopmentResourceLoader does not correctly handle resource locations with schemes"

Same fix as was previously made in pull request https://github.com/grails/grails-core/pull/297 except against the 2.1.x branch