add tests and stubs of the ruby code for rails 4.0
apply rails3 extensions to rails4 as well
add passenger initializer to rails 4.0 test stub