fix i18n scoping regression in layout files, fixes CNVS-14892
fix i18n scoping regression in layout files, fixes CNVS-14892

also simplify when/how we set the i18n scope... just hook into
Template#render, rather than the various renderers

test plan:
1. run canvas with RAILS_LOAD_ALL_LOCALES=true
2. change your language from english
3. go to any page in canvas
4. confirm the top nav and footer are translated
5. confirm that i18n is working elsewhere (see g/39399 for some good stuff
   to check)
6. note: if you're regression testing i18n everywhere, you'll also need to
   compile assets and run canvas with USE_OPTIMIZED_JS=true to get
   translations working in javascript land. that's technically not needed
   to verify this commit, but it'll eliminate any false positives

Change-Id: I08bc63f3bfc85e88369468f046a06b36811303b9
Reviewed-on: https://gerrit.instructure.com/39499
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: James Williams  <3a5f4ed991dbfa5c9ef76ad729d240ca12f62180@instructure.com>
QA-Review: Clare Strong <40d6bb3ed7fef516c73274131d5a837c16de74fd@instructure.com>
Product-Review: Jon Jensen <44f878afe53efc66b76772bd845eb65944ed8232@instructure.com>

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