Allow file:// URIs for sources

The bundler gemspecs use file:// URIs for their sources which is not
supported by the RubyGems installation or test infrastructure.

Now a file:// URI will return an IndexSet from
Source#dependency_resolver_set and tests will read files directly.