Provide a custom permission denied handler setting (e.g. redirect_to_login)
Pass along the entire request to to the handler so that it can decide
whether to redirect or simply deny the user
Merge branch 'custom-permission-denied-handler' of https://github.com/stanhu/django-rest-swagger
add test case and ability to accept path to handler