Support for passenger 4

* Passenger 4 changes the directory that .so files end up in, so there's a new passenger_lib_dir method that sets that correctly.
* Also fixes the supports_passenger_buffer_response? method so it won't break after 4.0.0 comes out.
* Adds passenger_*_version methods to use for this stuff in the future.  Which is fancy.