Merge pull request #8163 from lioncash/config Core/ConfigManager: Use forward declarations where applicable