An apparatus for measuring soft X-ray magnetic scattering