remove various hardcoded usage of file in /tmp

Even if the files are not meant to be distributed and used now, it
is better to have clean and secure code so people who may look or
copy it do not copy or look at insecure code
do not use old name in the script help message
Set ENV["RAILS_ENV"] in boot.rb

Instead of setting ENV["RAILS_ENV"] in environment.rb, do so in boot.rb.

When starting the broker normally or using script/rails, environment.rb
is read after Rails has been loaded and has set ENV["RAILS_ENV"] to the
default 'development', so Rails.env.development? returns true even when
the broker is configured to use the production environment.  In the case
of oo-accept-broker, the application is started in such a way that
environment.rb is never loaded, so the development configuration is
always read even when the production configuration should be.

This commit fixes BZ871753 "[US2985][On-Premise]oo-accept-broker will
report failed for mongodb service checking even if mongodb is running."
oo-accept-broker was reading the setting for the MongoDB hostname from
the development configuration file instead of the production
configuration file, which caused the test to fail.
oo-accept-broker: add support for remote-user auth

Add support for the remote-user auth plug-in.  If the plug-in is enabled,
then the following steps are performed:

• In verbose mode, the trusted header is printed.

• /var/www/openshift/broker/httpd/conf.d/*.conf is grepped for the
  necessary settings to pass requests through for JBossTools and
  node-to-broker communication.

• The following APIs are requested without authentication to ensure that
  the appropriate responses are received.

  • The following should return 200 responses:

    /broker/rest/api
    /broker/rest/application_templates
    /broker/rest/cartridges

  • The following should return 401 responses, indicating that
    authentication is required:

    /broker/rest/user
    /broker/rest/domains
BZ 872008: Use complete context def.
BZ872533
The introduction of polydir shm caused errors in oo-namespace-init.
Unnecessary to run as system_u and causes test failures.
Fix for BZ872313

* oo-app-idle now reports un-accessed apps as inactive
* oo-list-stale performance enhancements
Merge pull request #822 from bdecoste/master

Merged by openshift-bot
Merge pull request #824 from rmillner/BZ872008

Merged by openshift-bot
Merge pull request #698 from mscherer/fix_doc_node_bin

Merged by openshift-bot
BZ872492 - Should stop openshfit-console service when uninstall openshift-console package.
Adding rewrites to / to go to /console for http and https vhosts
Added NamedVirtualHost for the 443 vhost to avoid conflict with ssl.conf
Merge pull request #820 from calfonso/master

Merged by openshift-bot
Bumping specs to at least 1.1
oo-accept-broker: RHEL6 compatibility

oo-accept-broker is written for Fedora, which uses systemd.  In
particular, check_auth_mongo is written with the assumption that the
service command will print systemd-style output.  These assumptions
break on RHEL6 where the service command prints sysvinit-style output.

This commit adds compatibility so that oo-accept-broker should parse the
output of the service command correctly on both recent Fedora and RHEL6.
Merge pull request #828 from danmcp/master

Merged by openshift-bot
Merge pull request #827 from jwhonce/dev/bz872313

Merged by openshift-bot
BZ872523 - set quota for gear failed if the device name is too long