Additional mock api functionality

- [x] `api.invitation.send`
- [x] `api.invitation.getForToken`

This will be merged into `master` (only mock, and new functionality, so no breaking changes). Master will then be merged in `access-and-invitations`, so this functionality can be used there.