vtkPVGeneralSettings: make setters threadsafe
Both RS and DS service try to load/save settings using vtkPVGeneralSettings
which is a singleton making thus modifications not threadsafe. This MR protects all setters with a mutex. This is only a temporary solution since we need a better way to handle updates on settings or even a different design around them.
Edited by Christos Tsolakis