Fixes #19789 - fix Layout/SpaceAroundOperators cop
Fixes #16752 - Extract template code from Host::Managed
Host::Managed contains a lot of code related with determining thetemplate that a host should have. Other Host objects such asHost::Discovered might need that logic, without becoming aHost::Managed....