*8129* Whitespace cleanup
*8129* Avoid race condition for parallel referral inserts
*8129* Renamed function to reflect new functionality
Merge pull request #72 from MichaelThessel/ojs-stable-2_4

*8129* Race condition in referral plugin insert