Allow groups to be used as aliases for user mention

when configured by the admin a group can be found through the @mentions
feature in both the compose/reply and the private message user-selectors
and once selected the mention will be replaced by the list of users in
the group
move alias levels into enums
Merge pull request #1782 from ligthyear/group-mention

Allow groups to be used as aliases for user mentions