Fixed #139. Make invite api compatible with the refactored apis.

see https://github.com/mozilla/minion-backend/issues/259.
We split up the invite api into several smaller apis for managing
accept, resend and decline.