Update invitation process to work with manual invites
It works by passing the user id instead of the pre-generated referral code, then it generates the referral object as the user registers
Add referral type to track which types are occurring more often
Update pendingInvite job to only send for referrals that need to go out
Add 'invite' page to require login