Added request to sitemap classes (#17802).

Trac ticket: https://code.djangoproject.com/ticket/17802