Change the "Set Status to X" options to work internally with a closure.

This is preparation for the ability to change the amount of translation
stages.
Arbitrary status count for Role menu
Arbitrary status count for XTextBox
Arbitrary status count for main window title
Arbitrary status count in CompletionPercentage database

Completion % window is now broken though.
Arbitrary status count in Completion % window
Completion % window, better error handling & actually make the window title work properly.
Bugfixes regarding the arbitrary status count.

Specifically, if you change the maximum down after having entries set to
something higher.
Get translation stage count from the config file.
When entries are set to debug/non-debug, also set the entries as updated.
Merge remote-tracking branch 'origin/master' into auto-format

Conflicts:
	GraceNote/Scripts.py