Refs #969 - Foreman-side changes for serving templates from the proxy
Fixes #8258 - CR provider errors with correct log level
Fixes #7971 - DHCP hostname commutative conflict fix
Refs #3809 - fix shadowing outer local variables