Merge pull request #900 from bmispelon/ticket-20022

Fix #20022: Correctly handle prefixes with url-unsafe characters in reverse()
Began implementing a shared set of test models to speed up tests.
Merge branch 'master' of github.com:django/django