Bug 974632

Create ~/.gem, owned by the gear user, for all cartridges.
To have user gems be installed in this directory, we now set $GEM_HOME
explicitly on all cartridges.

Subsequently, the Ruby 1.9 cartridge need not create ~/.gem.
Bug 974983

Set up $PATH so that executables installed by a gem can be found.
Resurrect file permissions tests that existed for v1 PHP cartridge

The tests now includes `~/.gem`, which is created for all cartridges.
See https://bugzilla.redhat.com/show_bug.cgi?id=974632
Remove unsightly comment
Bug 977563

Instead of using glob, explicitly list templates belonging to the Ruby
cartridge.
node-util: Fixing undefined local variable due to typo
Merge pull request #2865 from BanzaiMan/dev/hasari/bz974632

Merged by openshift-bot
Fix mysql scaling tests
Avoid harmless but annoying deprecation warning
Merge pull request #2949 from mmahut/master

Merged by openshift-bot
Merge pull request #2952 from pmorie/fix-tests

Fix mysql scaling tests
Merge pull request #2951 from BanzaiMan/mocha_deprecation_warning

Avoid harmless but annoying deprecation warning
Move core migration into origin-server

Move unit tests from li to origin-server
Move migrate_action into openshift agent, move cuke tests
Rename rhc-admin-migrate to oo-admin-migrate and move into origin-server

Trello: https://trello.com/c/1KV8NmDJ (runtime_319)
Merge pull request #2939 from BanzaiMan/dev/hasari/bz977563

Bug 977563
Merge pull request #2954 from pmorie/dev/os_migrations

Merged by openshift-bot