Config: add saveConfig and resetConfig actions (PR #7606)
Closes #7598
Config: add the following actions so add-ons can respond and perform appropriate actions when saving or reverting settings, respectively:
* `config.post_configSave`
* `config.pre_configSave`
* `config.post_configReset`
* `config.pre_configReset`
* `config.post_configProfileSwitch`
Some add-ons do not participate in ConfigManager/profiles at the moment. For these, there's no easy way to revert settings or Control+NVDA+C cannot be used to let add-ons save settings. These new actions now alleviate this.
Example use cases:
* pre/post config save: allows add-ons to save settings to custom location(s).
* pre/post config reset: allows add-ons to reload settings from anywhere and/or reset configuration to defaults (controlled by a boolean).
Pre / post: there are times it is helpful to let modules perform actions prior to and/or after NVDA settings are saved, most likely when add-ons need to save settings and/or a module will transport settings to a cloud location for safekeeping or synchronization purposes. Not all modules should listen to both events at once - mostly, `pre_configSave` action is enough.