Cartridge Bash SDK cleanups

Use locals whenever possible. Remove undesirable/unused functions.
Merge pull request #1937 from ironcladlou/dev/v2carts/sdk

Merged by openshift-bot
Bug 949121 - FQDNs are lowercased in Apache logs.
auto-cleanup of ssh-keys/env vars on cart remove
WIP Cartridge Refactor - Use gear combined env when calling hooks

* Layer the active cartridge environment variables over the gear and other cartridge variables.
Card 534
Added Additional-Control-Actions to jbosseap-6.0 and jbossas-7
Remove vendor name from installed V2 cartridge path
Merge pull request #1938 from rmillner/BZ949121

Merged by openshift-bot
Fix haproxy v2 path construction
Bug 947092
Merge pull request #1941 from jwhonce/wip/v2_cart_model

Merged by openshift-bot
Changes for:

header bar with button
Alignment of add cartridge button wasn't far enought right on Chrome and safari so added positioning.
Plus portion of button given darker shade and header as per original design
Header bar background should be lighter than cartridge block as per design

Add Application button
Given right margin so it's not tight next to help section
Adding snapshot / restore to v2 mongodb cartridge
Automatic commit of package [openshift-origin-broker-util] release [1.7.2-1].
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.7.2-1].
Automatic commit of package [openshift-origin-cartridge-nodejs-0.6] release [1.7.2-1].
Automatic commit of package [openshift-origin-cartridge-cron-1.4] release [1.7.2-1].
Automatic commit of package [rubygem-openshift-origin-node] release [1.7.20-1].
Automatic commit of package [openshift-origin-cartridge-jbossews] release [0.2.2-1].