The default language for the settings dialog is set from window.JSAV_OPTIONS (if possible) when Settings is not linked to a JSAV instance.
Merge pull request #150 from X455u/lang

Improved translation of the Settings dialog
Added new type of grader which compares only last state of student and model solution
Generalized the event handler helper
Added event handler attaching support to variable; added highlight support to variable
Added highlight support to variable
The language of the settings dialog is set to English if the language selected in JSAV_OPTIONS.lang is not in JSAV._translations
Make sure finalStep grader works even though model answer does not have a gradeable step
Merge pull request #152 from X455u/lang

Improved language selection for the settings dialog