Add server_environments_group and server_environments_mode parameters
Fixes #6352: Lowercase hostnames in certs

This is the same fix as aad7619 in puppet-foreman[1].

Relevant parts from http://projects.theforeman.org/issues/6352

facter fqdn and hostname -f both return
HOSTNAME.domain.com

Starting httpd: [Tue Jun 24 13:26:59 2014] [warn] module passenger_module is already loaded, skipping
Syntax error on line 37 of /etc/httpd/conf.d/25-puppet.conf:
SSLCertificateFile: file '/var/lib/puppet/ssl/certs/HOSTNAME.domain.com.pem' does not exist or is empty
[FAILED]

There is a .pem file generated in /var/lib/puppet/certs/, but it is in
lowercase.

[1]: https://github.com/theforeman/puppet-foreman/commit/aad76195117479ca6b2cbbf9f0579e3672a9c806
Make foreman integration optional

Instead of including foreman::params, the values are copied. That means
foreman::params no longer needs to be included.

The next use of foreman is in puppet::server::config where it sets up
reporting and ENC. This is wrapped in a new boolean $server_foreman. The
user will still need to take care of clearing $server_reports and
$server_external_nodes.

Fixes #154