Configuration in YAML

This patch moves configuration to /etc/puppet/foreman.yml. By moving the
configuration into a settings file, we can use external_node.rb and
foreman-report as plain files. It also makes foreman::puppetmaster easier to
use.

This is based on a patch by @frimik.