Fix lack of caching in SettingsManager

Currently the SettingsManager does not cache resolved settings, so multiple requests for settings of the same namespace lead to redundant queries and processing overhead.