Add management command for retrieving referral data and fix model.
Tests!
Add google-api-python-client.