cross-shard support for student interactions report
cross-shard support for student interactions report

Activate the course's shard to retrieve teacher
enrollments, not necessarily the current shard

fixes CNVS-4450

Test plan:
- On shard A, create user A
- On shard B, create a course with one or more 
students and enroll user A as a teacher
- Log in as user A on shard A; navigate to /grades
- When you click "Student Interactions Report" you
should see the report (instead of a "this user is
not a teacher in this course" error)

Change-Id: I767c88ca1ebb27a33060dd1ba62aa2ffdd646da1
Reviewed-on: https://gerrit.instructure.com/28182
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Anthus Williams <9b0bb6d8221e7e7c0d84e929f259a97887b2819e@instructure.com>
QA-Review: August Thornton <9adc7a1161ddf32ff608de792a7e50179545f026@instructure.com>
Product-Review: Anthus Williams <9b0bb6d8221e7e7c0d84e929f259a97887b2819e@instructure.com>

roxolan/canvas-lms,sdeleon28/canvas-lms,djbender/canvas-lms,tgroshon/canvas-lms,landonwilkins/canvas-lms,Rvor/canvas-lms,dgynn/canvas-lms,roxolan/canvas-lms,whalejasmine/canvas-lms,arrivu/arrivu-lms,instructure/canvas-lms,sfu/canvas-lms,skmezanul/canvas-lms,narigone/canvas,sdeleon28/canvas-lms,wrdsb/canvas-lms,utkarshx/canvas-lms,arrivu/hoodemo,greyhwndz/canvas-lms,sfu/canvas-lms,Jyaasa/canvas-lms,utkarshx/canvas-lms,SwinburneOnline/canvas-lms,shidao-fm/canvas-lms,skmezanul/canvas-lms,instructure/canvas-lms,snehakachroo1/LSI_replica,antoniuslin/canvas-lms,eCNAP/CANVAS,skmezanul/canvas-lms,fronteerio/canvas-lms,shidao-fm/canvas-lms,kyroskoh/canvas-lms,matematikk-mooc/canvas-lms,utkarshx/canvas-lms,instructure/canvas-lms,redconfetti/canvas-lms,HotChalk/canvas-lms,jay3126/canvas-lms,Rvor/canvas-lms,fronteerio/canvas-lms,grahamb/canvas-lms,dgynn/canvas-lms,usmschuck/canvas,samuels410/greatlakes-lms,narigone/canvas,sfu/canvas-lms,djbender/canvas-lms,matematikk-mooc/canvas-lms,fronteerio/canvas-lms,arrivu/arrivu-lms,sfu/canvas-lms,greyhwndz/canvas-lms,djbender/canvas-lms,efrj/canvas-lms,wye0220/shindig-canvas,sfu/canvas-lms,landonwilkins/canvas-lms,efrj/canvas-lms,va7map/canvas-lms,utkarshx/canvas-lms,tgroshon/canvas-lms,redconfetti/canvas-lms,skmezanul/canvas-lms,redconfetti/canvas-lms,Jyaasa/canvas-lms,arrivu/hoodemo,gbleydon/canvas-lms,grahamb/canvas-lms,jay3126/canvas-lms,va7map/canvas-lms,arrivu/hoodemo,Jyaasa/canvas-lms,instructure/canvas-lms,va7map/canvas-lms,leftplusrightllc/canvas-lms,SwinburneOnline/canvas-lms,wye0220/shindig-canvas,samuels410/greatlakes-lms,ShreniiNepal/shrenii_lmp,greyhwndz/canvas-lms,jay3126/canvas-lms,tgroshon/canvas-lms,narigone/canvas,wrdsb/canvas-lms,landonwilkins/canvas-lms,djbender/canvas-lms,shidao-fm/canvas-lms,Rvor/canvas-lms,narigone/canvas,eCNAP/CANVAS,juoni/canvas-lms,AndranikMarkosyan/lms,sfu/canvas-lms,AndranikMarkosyan/lms,kyroskoh/canvas-lms,greyhwndz/canvas-lms,HotChalk/canvas-lms,antoniuslin/canvas-lms,ShreniiNepal/shrenii_lmp,efrj/canvas-lms,SwinburneOnline/canvas-lms,venturehive/canvas-lms,usmschuck/canvas,samuels410/greatlakes-lms,wrdsb/canvas-lms,sdeleon28/canvas-lms,grahamb/canvas-lms,leftplusrightllc/canvas-lms,instructure/canvas-lms,arrivu/arrivu-lms,whalejasmine/canvas-lms,venturehive/canvas-lms,juoni/canvas-lms,eCNAP/CANVAS,AndranikMarkosyan/lms,wye0220/shindig-canvas,dgynn/canvas-lms,whalejasmine/canvas-lms,landonwilkins/canvas-lms,antoniuslin/canvas-lms,instructure/canvas-lms,shidao-fm/canvas-lms,roxolan/canvas-lms,redconfetti/canvas-lms,SwinburneOnline/canvas-lms,gbleydon/canvas-lms,dgynn/canvas-lms,HotChalk/canvas-lms,grahamb/canvas-lms,usmschuck/canvas,Rvor/canvas-lms,snehakachroo1/LSI_replica,efrj/canvas-lms,Unow/canvas-lms,whalejasmine/canvas-lms,snehakachroo1/LSI_replica,matematikk-mooc/canvas-lms,venturehive/canvas-lms,matematikk-mooc/canvas-lms,ShreniiNepal/shrenii_lmp,va7map/canvas-lms,Unow/canvas-lms,kyroskoh/canvas-lms,Unow/canvas-lms,juoni/canvas-lms,tgroshon/canvas-lms,wrdsb/canvas-lms,Jyaasa/canvas-lms,antoniuslin/canvas-lms,sdeleon28/canvas-lms,samuels410/greatlakes-lms,snehakachroo1/LSI_replica,instructure/canvas-lms,ShreniiNepal/shrenii_lmp,leftplusrightllc/canvas-lms,roxolan/canvas-lms,eCNAP/CANVAS,AndranikMarkosyan/lms,venturehive/canvas-lms,kyroskoh/canvas-lms,fronteerio/canvas-lms,grahamb/canvas-lms,HotChalk/canvas-lms,juoni/canvas-lms,jay3126/canvas-lms,gbleydon/canvas-lms,usmschuck/canvas,leftplusrightllc/canvas-lms,sfu/canvas-lms