Update railtie to install after known dependencies

We ran into an issue deploying to Heroku and found this open issue on the old repo:  https://github.com/SamSaffron/MiniProfiler/issues/131

I noticed you were open to taking a patch for this, so here it is.  I'd be happy to add tests for it, but couldn't really think of how, if you have any ideas let me know.