add lua api call to force save of settings to config file


old name: add missing saveSettings() on server shutdown