[System] Improve Settings behavior (#15818, #2315)

Various changes and fixes mainly to ApplicationsSettingsBase class to improve the behavior. This fixes Xamarin bugs #15818 and #2315.