Update Rails to v4.0.2, update gems