fix speed grader when the uri has no hash
fix speed grader when the uri has no hash

refs #6459

testplan: load the speed grader without any fragment #stuff-like-this in
the url and make sure it renders properly

Change-Id: Ia1556341ce621a41cd8918487e24a711e4de992b
Reviewed-on: https://gerrit.instructure.com/7196
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Zach Wily <9de8c4480303b5335cd2a33eefe814615ba3612a@instructure.com>

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