Add new URL mixin for method-based views

URLsTestCase supports class-based views, but not method-based views.  I made a method-based version while working on another project and figured it would be worth putting in here.