Extended assertRedirects to be able to avoid fetching redirect's response

This refers to #20919 where it explains that it would be nice to be able to
avoid fetching the final redirect page when checking if a view does the proper
redirect.

This patch adds that feature, new tests for it and modifies the docs.