Configuration in YAML

This patch moves configuration to /etc/puppet/foreman.yaml. By moving the
configuration into a settings file, we can use external_node.rb and
foreman-report.rb as plain files. This should open up the path to
shipping them in proper packages.

This is based on a patch by @frimik.
Move foreman::config::enc into foreman::puppetmaster