19751 - Fix and centralize handling of boolean values for settings

This commit fixes Util::str_to_bool handling of TrueClass and FalseClass
parameters.