Run after_fork hooks correctly on Phusion Passenger (PR #3054)

This uses Phusion Passenger’s hook APIs.

GitHub

Thanks for contributing this pull request! Could you please sign our CLA so we can review it? http://www.discourse.org/cla

Done.