resolve method takes into account if the view comes wrapped

This should fix https://github.com/marcgibbons/django-rest-swagger/issues/123

WIP: I will add a test as soon as I manage to run them