Add Invitations to client.
houndci suggested fixes.
Merge pull request #31 from peterkovacs/master

Add Invitations to client.