fixes #6430 - validate presence of location and organization for managed host if Settings are turned on

@domcleal, `:required => SETTINGS[:locations_enabled]` will work for local generated documentation for a specific installation, but not for the docs on theforeman.org, as it will generate `:required => true`