settings: use CSetting::CheckValidity() instead of CSetting::FromString() for input validation
settings: fix CSettingNumber::fromString()
Merge pull request #4440 from Montellese/settings_fixes

Two fixes in the settings system