Action hooks run are not consistent between `ctl_all restart` and `rhc
app-restart`

https://bugzilla.redhat.com/show_bug.cgi?id=1079787
The specific action hooks that are run when restarting an application
are not consistent between the different ways to restart the
application.
Empty postgres.pid file is still existing in gear after stop

https://bugzilla.redhat.com/show_bug.cgi?id=1080822
Create one app(e.g., myphp53), embedded with postgresql-8.4/9.2, stop
postgresql db cartridge, found postgresql/pid/postgres.pid still
existing in rhcsh and even though prompts "Stopping postgresql-8.4 ...
done"
Bug 1080789 - Add PASSENGER_TEMP_DIR to ruby cartridge
Merge pull request #5077 from mfojtik/bugzilla/1080789

Merged by openshift-bot
Merge pull request #5076 from bparees/postgresql_pid

Merged by openshift-bot
Merge pull request #5062 from bparees/ctl_app_restart

Merged by openshift-bot