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