<openshift.sh> Bug 1099971 - post_deploy cleanup

- only update broker.conf if valid_gear_sizes, default_gear_size,
  or default_gear_capabilities are set

- add a variable to track if restart_services is needed.
Merge pull request #360 from detiber/bz1099971

<openshift.sh> Bug 1099971 - post_deploy cleanup
<oo-install> clean ruby env when running local_exec!
Merge pull request #382 from detiber/fixEnvEnt21

Fix env ent21