don't prevent leaving when in review mode

Don't show the "are you sure you want to leave the exam?" dialog box when the exam is in review mode.
Merge branch 'master' of github.com:numbas/Numbas
Merge branch 'master' of github.com:numbas/Numbas

Conflicts:
	themes/default/files/scripts/display.js