Ensure papertrail is configured correctly during setup, make solr logging optional.  Fix newrelic environment setup.