Referral Code API's

@aaustin 

Will add docs later.
Should we name this function 'validateReferralCode'? It seems like it could be confused with get from above