authentication/can_edit_all_or_fail: faster method to figure out if all
objects can be edited by the request user.

Apparently creating a set from a list and checking for whether it is a subset
of another set is faster than the set membership look up for every list element.
Tested for both small and large sets.