Parameterize passenger directives

Allows parameterization of passenger directives using a hash in addition to adding RSpec tests and fixing some small syntax issues reported by `rake lint`.