Fixed #123 (don't delete user when delete invite). Fixed #124 update user status on acceptance

When user accepts an invitation, we will update user's status from invite to active.
When we choose to delete an invitation, if the invite is already used, we should not delete the user unless the user is still mark as invite.