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
fixes #6408 - dismiss org/loc context menu when mouse leaves it
Fixes #8285 - Update README.md
Fixes #7456 - Extract primary interface from host

All host must have at least one primary interface and one provision (can
be the same interface). Primary interface gives host a name so even
unamanaged host have primary interface (we skip validations of other
attributes for unamanged hosts though).

Host still have name attribute which is a cache of primary interface name.
Therefore we can use the host name in SQL queries, as a friendly_id etc.
Fix functional tests
Fix more tests
Fix integration tests
Fix rest of tests