Accept organization invitations when repos are activated

https://trello.com/c/ru1udGS2/370-use-new-memberships-endpoint-when-adding-hound-to-github-teams
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.