Support invites in buddycloud

Fixes #23