fix draft-state published quiz and update question

closes CNVS-10920

test plan:
  - create a quiz with at least one question
  - enable draft state feature
  - publish quiz
  - edit at least one quiz question
    - Update the quiz question
    - dont save the quiz (navigate away)
  - view the quiz show page as instructor
    - should display a warning about un-saved quiz
    - warning should contain a button to save the quiz
  - view the quiz show as a student
    - no warning should be displayed
    - old question data should still be displayed
  - as instructor view show quiz again
    - click the save button in the warning
  - dialog should go away
  - students should now have updated questions

  - turn off draft-state and verify previous behavior

Change-Id: If40b48adf320b5ab2ffd57fcab65c46af5f58c8e
Reviewed-on: https://gerrit.instructure.com/31731
QA-Review: Myller de Araujo <myller@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
Product-Review: Jason Madsen <jmadsen@instructure.com>