don't upload every file twice
don't upload every file twice

we were adding files to the queue, and then calling uploadNext with
that file specifically. when uploadNext got called again it would find
the same file in the queue and try again.

now just add it to the queue and then process the queue

refs #5143

Change-Id: I53476b3170169a9dc60a9e5edf69a119e2795fbd
Reviewed-on: https://gerrit.instructure.com/4818
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Tested-by: Selenium <781b4ea1d853666949b562451f4649afae1f85d5@instructure.com>
Reviewed-by: Brian Palmer <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@instructure.com>
Reviewed-by: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

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