make app_reverse language aware if no page in request (e.g. Sitemap)

This is needed so code like this in sitemap.py is working:

    def location(self, obj):
        with translation.override(self.language_code):
            return obj.get_absolute_url()

Sitemap is working here, but I haven't run the test suite.