Added code-saving function getConfigValueOrDefault
(it is really code-saving).