Add Railtie to fix loading order

@disaacs This should fix the loading order issue we saw before.
I am not sure I follow how this is working. I now see StatsD.Logger getting initialized twice. Once here and once in environment.rb.