Also set StatsD.mode based on RAILS_ENV/RACK_ENV environment variable if possible