Changing acceptInvitation for a group

group - adding new attribute HASH for invitation
groupDAO - adding method get_group_by_hash
app.py - changing the way invitations are checked and handled. Using get_group_by_hash