Invites

Add invites to the buddycloud server. See #187.

Fixes #187.
Style looks weird. Break line somewhere else.