Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index

Also moved accessor method get_redirect_url next to its attribute url
for consistency with the other views.

Thanks nikunj.sg for the report
Merge pull request #1 from django/master

Merge upstream 22-02