Show group as activity preview when being added to group

See #3035

When a user is added to a group, his activity will show the group's thumbnail. When a user different than the user that was added looks at that activity, the activity will show the user's thumbnail.