Test case fixes for Origin:

  * Use PHP_VERSION and MYSQL_VERSION instead of hardcoded values
  * Register test accounts before using them
  * Set max gear limits where assumption of 3 gears is made
Merge pull request #3871 from kraman/bugfix2

Merged by openshift-bot
Bug 999884 - Check if 'tc' already exists in oo-admin-ctl-tc
Merge pull request #3463 from mfojtik/bugzilla/999884

Merged by openshift-bot
Bug 1018082

Fix bug where calls to remote_deploy (i.e. Jenkins deployments) were
only operating on the local gear and weren't rotating the gear back in
correctly.

Convert activate to use with_gear_rotation.