fixes #2099 - fix handling of multiple module paths

Replace every occurrence of $confdir, not only the first one
fixes #2099 - interpolate $confdir if $environment not used
fixes #2114 Add warning if no environments found
fixes #2085 - load Puppet 3 app defaults for master mode too

Allows $confdir and other run mode specific settings to be initialised from
the defaults present in Puppet::Util::RunMode.  When requesting detail on
classes, the Puppet parser indirectly requests app level settings so both
global and app settings are needed.  Refactored into shared code for both
parser and environments to use.
Fixes #2143: Only create the log file parent dir if daemonize is true
refs #1567 - fixed a copy paste error
version bump to RC3
fixes #2101 - add bundler / Gemfile
Fix a number of tests and settings so tests run from example settings.yml

- enable subsystems being tested before proxy loads code
- fix test assuming /bin/ls is always first in PATH
- dummy puppet.conf file
fixes #1674: Ignore commented lines when reading all certificates in autosign and make sure the autosign file contains a EOL on the last line
Tests the autosign.conf operations
released 1.1
Adding sudo and wget deps, for puppetca and tftp features

merging https://github.com/theforeman/foreman-rpms/pull/43
Merge remote-tracking branch 'smartproxy/develop' by rel-eng/build.sh
Automatic rebase to latest nightly Foreman-proxy
Automatic commit of package [foreman-proxy] minor release [1.0.1-10.fe7d7e9].