Adding Passenger 4 support including some of https://github.com/debona
changes. Also providing updated rspec tests. Tested with travis.