WIP do not merge Bug 1025805 multiple RIDs over time

Opening the PR to discuss the work on this so far, and to check next steps.
You'll want to add an association here, to link the User model to the Referrer model: http://sequelizejs.com/docs/1.7.8/associations#one-to-many