Adding a 'groups_required' decorator.

This makes it possible to assert group membership.