Fix how group is found in memberships controller
Implement leave function
Change has_group to account for new association
Clean up code/delete lines
WIP Change how group is related to student