upgrade to Rails 4.0.1, plus more cleanup and remove elsa/sentinel stuff