Support nested keys expressed as single strings in the PreservingIniWriter

Automatically convert keys with dots into nested configurations to avoid errors during the property diff, of the old and new configuration file.
Add unit tests for nested-key handling in the PreservingIniWriter

fixes #6381