Upgrade to rails 4.1.0

@rpearce review this too pls.