Migrate endpoints during upgrade.

broker code for endpoint upgrade of gears

Fix unit tests.
Fix bug 1010464: only use supervisor is hot_deploy is enabled
card_169
Fix bug 1030774: domain info overflow
Fix bug 1032665 - make middle-click work on clickable tiles
Fix bug 1030791: popup visibility on iphone
bug 997924: jbossas-7 build fails if the app has mock-plugin addon
Merge pull request #4209 from mrunalp/dev/upgrade_endpoints

Merged by openshift-bot
Merge pull request #4204 from lnader/master

Merged by openshift-bot
Merge pull request #4210 from bparees/mock_error

Merged by openshift-bot
Up tries on http assertions in functional API
Merge pull request #4212 from pmorie/dev/fix-tests

Merged by openshift-bot
Allow users to override the RAILS_ENV and RACK_ENV in Passenger
Update cartridge_guide to mention Django/Rails development mode
Fix viminfo file error when using vim within gears
Bug 1032950

Change ownership of by-id link to gear uid/gid so future deployments
that don't go through mcollective don't fail because of file
permissions issues.
Fix bug 1032888: select ssh url on mousedown
Merge pull request #4215 from jhadvig/vim

Merged by openshift-bot
Bug 1032901 - Removed perl5lib folder from GIT and added to dependency_dirs
Merge pull request #4214 from ncdc/bz1032950-lchown-by-id-link

Merged by openshift-bot