update cached turnitin data when redirecting to originality report
update cached turnitin data when redirecting to originality report

Turnitin has no way to register callbacks when a submission's
originality score changes.  However, teachers are able to
modify originality scores for submissions by marking certain
sources as being ignored when checking for originality.  If a
teacher does this then the data we've cached will get out of
date.

We don't really want to have to regularly poll for updated
info, so this will just schedule a background job to check
for updates whenever someone goes to view the full
originality report.  There will still be plenty of time
when the data it out of sync, but it at least gives a
way in the UI to update the data.

Change-Id: Ia8cc814a2e9cf5ec140d3fd22acedfbb00da1b8a
Reviewed-on: https://gerrit.instructure.com/2163
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Bracken Mosbacker <48b846001bca4166dc3fb7711563afc17525921e@instructure.com>

merichar/canvas-lms,gbleydon/canvas-lms,SwinburneOnline/canvas-lms,instructure/canvas-lms,usmschuck/canvas,sfu/canvas-lms,loganrun/pincan,utkarshx/canvas-lms,icelab/canvas,snehakachroo1/LSI_replica,grahamb/canvas-lms,AndranikMarkosyan/lms,arrivu/arrivu-lms,shidao-fm/canvas-lms,faraazkhan/canvas,sfu/canvas-lms,jay3126/canvas-lms,samuels410/greatlakes-lms,utkarshx/canvas-lms,ShreniiNepal/shrenii_lmp,djbender/canvas-lms,faraazkhan/canvas,snehakachroo1/LSI_replica,icelab/canvas,sdeleon28/canvas-lms,Jyaasa/canvas-lms,sli7246/canvas_branch,eCNAP/CANVAS,AndranikMarkosyan/lms,tgroshon/canvas-lms,sfu/canvas-lms,em2/canvas-lms,wrdsb/canvas-lms,tgroshon/canvas-lms,roxolan/canvas-lms,leftplusrightllc/canvas-lms,Jyaasa/canvas-lms,ankithbti/canvas_lms,redconfetti/canvas-lms,wrdsb/canvas-lms,instructure/canvas-lms,va7map/canvas-lms,arrivu/hoodemo,ottenhoff/canvas-lms,juoni/canvas-lms,jay3126/canvas-lms,merichar/canvas-lms,ShreniiNepal/shrenii_lmp,whalejasmine/canvas-lms,ottenhoff/canvas-lms,sfu/canvas-lms,parbros/red-innovadores-lms,sfu/canvas-lms,SwinburneOnline/canvas-lms,landonwilkins/canvas-lms,kyroskoh/canvas-lms,arrivu/jigsaw-lms,efrj/canvas-lms,Unow/ins,loganrun/pincan,parbros/red-innovadores-lms,roxolan/canvas-lms,ankithbti/canvas_lms,djbender/canvas-lms,merichar/canvas-lms,rup/Tarrax,wimemx/Canvas,gbleydon/canvas-lms,parbros/red-innovadores-lms,HotChalk/canvas-lms,em2/canvas-lms,sfu/canvas-lms,skmezanul/canvas-lms,sfu/canvas-lms,Rvor/canvas-lms,narigone/canvas,juoni/canvas-lms,em2/canvas-lms,leftplusrightllc/canvas-lms,HotChalk/canvas-lms,ottenhoff/canvas-lms,venturehive/canvas-lms,wye0220/shindig-canvas,AndranikMarkosyan/lms,skmezanul/canvas-lms,sli7246/canvas_branch,wye0220/shindig-canvas,instructure/canvas-lms,sdeleon28/canvas-lms,whalejasmine/canvas-lms,landonwilkins/canvas-lms,Jyaasa/canvas-lms,leftplusrightllc/canvas-lms,wimemx/Canvas,fronteerio/canvas-lms,eCNAP/CANVAS,rup/Tarrax,eCNAP/CANVAS,shidao-fm/canvas-lms,arrivu/jigsaw-lms,antoniuslin/canvas-lms,Jyaasa/canvas-lms,matematikk-mooc/canvas-lms,utkarshx/canvas-lms,roxolan/canvas-lms,arrivu/hoodemo,djbender/canvas-lms,whalejasmine/canvas-lms,leftplusrightllc/canvas-lms,snehakachroo1/LSI_replica,arrivu/jigsaw-lms,usmschuck/canvas,narigone/canvas,kyroskoh/canvas-lms,greyhwndz/canvas-lms,va7map/canvas-lms,juoni/canvas-lms,ankithbti/canvas_lms,nditech/red-innovadores-lms,skmezanul/canvas-lms,fronteerio/canvas-lms,wrdsb/canvas-lms,icelab/canvas,sdeleon28/canvas-lms,samuels410/greatlakes-lms,SwinburneOnline/canvas-lms,shidao-fm/canvas-lms,antoniuslin/canvas-lms,Unow/ins,grahamb/canvas-lms,tgroshon/canvas-lms,arrivu/arrivu-lms,arrivu/qibla-ecampus,Rvor/canvas-lms,HotChalk/canvas-lms,Unow/canvas-lms,jay3126/canvas-lms,grahamb/canvas-lms,Rvor/canvas-lms,kyroskoh/canvas-lms,roxolan/canvas-lms,SwinburneOnline/canvas-lms,nditech/red-innovadores-lms,samuels410/greatlakes-lms,greyhwndz/canvas-lms,dgynn/canvas-lms,landonwilkins/canvas-lms,efrj/canvas-lms,nditech/red-innovadores-lms,skmezanul/canvas-lms,gbleydon/canvas-lms,fronteerio/canvas-lms,va7map/canvas-lms,arrivu/qibla-ecampus,landonwilkins/canvas-lms,dgynn/canvas-lms,Unow/ins,antoniuslin/canvas-lms,sli7246/canvas_branch,dgynn/canvas-lms,whalejasmine/canvas-lms,nditech/red-innovadores-lms,snehakachroo1/LSI_replica,greyhwndz/canvas-lms,HotChalk/canvas-lms,narigone/canvas,tgroshon/canvas-lms,venturehive/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,ShreniiNepal/shrenii_lmp,jay3126/canvas-lms,antoniuslin/canvas-lms,Rvor/canvas-lms,narigone/canvas,matematikk-mooc/canvas-lms,instructure/canvas-lms,wrdsb/canvas-lms,ShreniiNepal/shrenii_lmp,greyhwndz/canvas-lms,eCNAP/CANVAS,redconfetti/canvas-lms,samuels410/greatlakes-lms,shidao-fm/canvas-lms,faraazkhan/canvas,juoni/canvas-lms,wye0220/shindig-canvas,instructure/canvas-lms,arrivu/qibla-ecampus,matematikk-mooc/canvas-lms,matematikk-mooc/canvas-lms,arrivu/arrivu-lms,arrivu/hiring-site,arrivu/hoodemo,efrj/canvas-lms,AndranikMarkosyan/lms,grahamb/canvas-lms,redconfetti/canvas-lms,va7map/canvas-lms,arrivu/hiring-site,wimemx/Canvas,grahamb/canvas-lms,djbender/canvas-lms,venturehive/canvas-lms,dgynn/canvas-lms,efrj/canvas-lms,sdeleon28/canvas-lms,redconfetti/canvas-lms,arrivu/hiring-site,kyroskoh/canvas-lms,usmschuck/canvas,loganrun/pincan,usmschuck/canvas,Unow/canvas-lms,fronteerio/canvas-lms,rup/Tarrax,Unow/canvas-lms,venturehive/canvas-lms,utkarshx/canvas-lms