fixes #1915 - load environments from Puppet 3

Two changes to support loading environment settings from Puppet 3:

* explicitly specify the run_mode as being 'master' to ensure the config is
  parsed in a puppetmaster context
* call private method to fully clear the state in Puppet::Settings allowing for
  a full reparsing of the config to pick up changes in environments (Puppet bug
  #17783)
fixes #1967 - missing require for Puppet constant
Fixes #1984 - explicitly call array.join when writing autosign.conf
fixes #1983 - use /etc/puppet/puppet.conf by default

When initialising Puppet 3 settings directly, a config dir or file is required,
so default to /etc/puppet/puppet.conf (as the puppetca code also does).
fixes #2016 Use a tmpfile+lockfile to avoid race conditions in IP suggestion
fixes #2031 - Remove dependency on net-ping
release bump to 1.1RC1
fix tests running on both 1.8 and 1.9 ruby

* Make jenkins run tests in an output friendly way
* Add fixtures and 1.9 fixes to tests
* Fix BMC_API provider test bug
fixes #2077 - proxy should not return nil for parameters with a function call

in cases where puppet has class declaration such as:

  class xyz($param = myfunction('p'))

the proxy would return a that param value is nil.
this patch changes that, so it return it as a string, allowing users to know
that a function call was there, and allow them to override it if they want.
merge https://github.com/theforeman/foreman-rpms/pull/29
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-9.4c3b483].