Convert PermissionResource to DRF (bug 910548)

https://bugzilla.mozilla.org/show_bug.cgi?id=910548

Some merge conflicts will appear with my other DRF conversion PR, #1321 ; I'll rebase and fix one when the other is merged.