Changes for US 2110 cart env namespacing

Add replacement for OPENSHIFT_GEAR_DIR.

PHP: Replace old env vars by new.(wip)

Python: Replace old env vars by new. (wip).

Perl: Replace old env vars by new (wip).

Node and DIY: Replace old vars by new (wip).

Fix sync_gears to not use OPENSHIFT_GEAR_DIR.

Abstract-httpd: Fix usage of old vars.

Fix tidy.sh to not use OPENSHIFT_GEAR_DIR and OPENSHIFT_LOG_DIR.

Remove reference to OPENSHIFT_GEAR_DIR.

Initial jboss env var refactor (WIP)

Still a little broken. Getting hangs in the cuke tests during
restart, and it's also hanging on git push during the hot
deployment tests, but the basic parts are in place.

Introduce some functions in the abstract util to support cart
namespace operations.

Fix bug in get_env_var_dynamic

Properly escape the input prior to eval to ensure
the correct results.

Change OPENSHIFT_GEAR_DIR to add CARTNS_CART_ in the name and change GEAR_CTL_SCRIPT to CARTNS_CART_CTL_SCRIPT

Update cartridge directory env vars to correct convention

Use the OPENSHIFT_{CART_NS}_CART_DIR convention for cart directory
references. With this commit, JBoss appears to be functional (at
least in the context of the Cucumber tests).

Fix function to disregard numbers

Fix to use remove version from namespace in env vars.

Environment variable namespacing for ruby-1.8 cart

Add special-casing for ruby in convert_cart_name_to_namespace_id

Fix HAProxy env vars.

Perl: Fix remaining vars.

Fix start_app and stop_app.

Fix snapshot script.

Various env var namespace fixes

Correct some issues in the JBoss carts. Do a first pass of fixes for
the Jenkins cart. Fix MySQL (although not the embedded cases). First
untested pass at PostgreSQL.

Add some more verbose output to the MCollective agent to assist in
debugging cartridge command executions.

US2111 Remove using OPENSHIFT_APP_NAME as a path segment

Refactor ruby-1.9 jenkins job template
Refactor ruby-1.8 jenkins job template
Refactor jboss abstract configure hook
Refactor python jenkins job template
Refactor php jenkins job template
Refactor perl jenkins job template
Refactor nodejs jenkins job template
Replace UPSTREAM_APP_NAME with app_type in jenkins jobs
Refactor haproxy jenkins job template
Refactor database move scripts

Env vars changed to not include application name:
  OPENSHIFT_LOG_DIR OPENSHIFT_RUN_DIR OPENSHIFT_RUNTIME_DIR OPENSHIFT_GEAR_DIR

Changing app_stop to stop instead of start

Revert start_app.sh and stop_app.sh to not use APP_HOME

Don't quote the commands to execute

Quoted commands won't execute properly.

Use new namespaced vars for _TMP_DIR in ruby-1.8

Port mongodb to new cart namespace conventions

Remove version numbers from cart env vars

Use namespaced environment variables in ruby-1.9 cart

Add utility function to get primary run dir.

Env var updates for 10gen, phpma, phpmo, rockmon

Update the cart namespace util function to not replace leading digits (e.g.
for the 10gen cart).

Clean up a few missed env var references

Takeout creation of GEAR_CTL_SCRIPT.

Remove special casing for ruby carts in convert_cart_name_to_namespace_id

Remove special-cased env vars from ruby-1.8 cart

Remove special-cased env vars from ruby-1.9 cart

Change runtime_steps to verify source tree using cart name instead of app name

Change runtime_steps to verify application logs using cart name instead of app name

Added function to get primary ctl script on a gear.

Fix admin ctl gears script.

Fix sssh.

Set cartridge_type in ruby-1.8's app_ctl_stop.sh

Fix abstract stop hook to infer cartridge_type from path

Fix abstract start/status/reload/restart hooks and abstract-httpd status hook to infer cartridge_type from path

Fixup path.

Fix misc ref to RUBY18.

Remove unnecessary versioning info from DB cart env vars

Take out standard env vars.

Remove invalid references to defunct app symlink

Hack to suppress DNS operations after every scenario

There is a global After hook registered for all cuke tests which
contacts Dynect unconditionally. Prevent this from occuring unless
there are actually DNS ops to perform. This is a short-term fix.

Fix LOG_DIR reference in action hook

Remove redundant env var creation now handled by util

deconfigure logic fixed for detecting standalone DBS - fixes rest-workflow test.

Fix conflict breakage.

Add cartridge_type assertions and automatically compute it
PHP wip for typeless.
Remove assertions, JBoss WIP
Change ruby-1.8 app_ctl_stop.sh to get instance dir using OPENSHIFT_HOME_DIR
Change ruby-1.8 app_ctl_stop.sh to get instance dir using OPENSHIFT_HOMEDIR
Removed namespaced env vars from ruby-1.8
JBoss env refactor
NodeJS env refactor
Remove namespaced environment variables from ruby-1.9
Add  as parameter to create_standard_network_env_vars in ruby-1.x
Perl env refactor
Remove namespaced env vars from python-2.6
Change python-2.6 app_ctl and deploy not to use namespaced vars
Fix postgres vars
Fix cleanup script reference