apps.core.models.groupinvite: Validation.

See #526.