Add perform_action_with_newrelic_trace to Rails 1.*

...because this exact code used to be included in Rails 1.* in older versions of the gem. Still very much TBD whether the internals of `perform_action_with_newrelic_trace` have changed too much to still work with old Rails.