Bug 971673: Replace ScriptSettingsStack's array with a C++-stack-allocated linked list. r=bholley