Invariant Expansion for Two‐Body Correlations: Thermodynamic Functions, Scattering, and the Ornstein—Zernike Equation