FIX: Allow add email to group if user can invite (PR #13097)

It used to allow adding email addresses to a group even if invites were disabled for the site. This does not allow user to input email address if they cannot invite.

The second thing this commit improves is the message that is displayed to the user when they hit the invite rate limit.

GitHub