ensure that deleted courses also delete enrollments
ensure that deleted courses also delete enrollments

closes #3833

Change-Id: I21efa68116b7a250e9b0e9c2df2dd5dfd45a736e
Reviewed-on: https://gerrit.instructure.com/2301
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Brian Whitmer <760e7dab2836853c63805033e514668301fa9c47@instructure.com>

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