Ex-74 Registration Code redemption

@chrisndodge we have added the functionality related to EX-74, Kindly review the changes and let us know if anything is missing 

Thanks
nit pick, this log message is actually not accurate as this gets written to log on any failed lookup, it should say something like "Redemption of a non existing RegistrationCode {code}"