purge Problem/QuizInProgress from session when leaving dev page

This avoids problems where a Problem that the user should
not be allowed to see/use (such as a finished quiz) is left
in the client-side session.

Also, prevent the use of the "Reset" button if edits are
disallowed (such as when a quiz has ended).