Remove usage of deprecated _scheme in UrlGenerator

Instead correctly use the array of schemes from the Route.
Also adjusted the dumper to dump the correct data.

I extended the tests to not only test the deprecated behavior, but also
the new one.