Move newrelic code to Railtie