add accept_global_perms into PermissionRequiredMixin

Hello, I would like use PermissionRequiredMixin with global permission like permission_required decorator does.

This is my first commit and first pull request so let me know if I do something wrong.