Fix parameter filtering in Rails 2.
Allow Pathname as config.project_root

there is no Pathname#empty?, so convert it to string before checking
Merge branch 'rails2-parameter-filtering-simplified' of github.com:Umofomia/bugsnag-ruby
Merge branch 'patch-1' of github.com:mikz/bugsnag-ruby