Upgrade rails to 4.2

It's the bleeding edge, but should be stable enough for our purposes here.