Update Rails to 4.1.7

Some important patches in 4.1.7 we should adopt across all projects.