Add cache-based locking to subtasks to ensure that the same task is not running in two workers at the same time.
Merge pull request #1453 from edx/brian/rc-lock-email-task

Add cache-based locking to subtasks to ensure that the same task is not ...