added middleware for correcting wrong sitemap URLs

This time trying to fix #965 with a downloader middleware. To me it seems a lot cleaner than the last approach.

Again the test case is not complete. I'm stuck at retrieving my `mock SITEMAP` through the middleware and then checking if the URLs where fixed.