redirect from ember quiz stats when no permission

also better organize testing of permission redirection into a module

closes CNVS-12829

test plan:
  - enable fabulous quizzes
  - as an instructor
    - visit a quiz show page
      - verify that user can navigate through Overview, Moderate,
        Statistics tabs
  - as a student
    - visist a quiz show page
      - verify that users gets redirected to the Overview when navigating to Moderate or
        Statistics Tab
      - verify that redirect happens if user enters the correct url for
        moderate or statistics as well.

Change-Id: Ib87c42c53d9e53f224914cdab34d1781592a8512
Reviewed-on: https://gerrit.instructure.com/34256
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Derek DeVries <ddevries@instructure.com>
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
Product-Review: Jason Madsen <jmadsen@instructure.com>