Precision Measurement of the B -> Xs gamma Photon Energy Spectrum, Branching Fraction, and Direct CP Asymmetry ACP(B -> Xs+d gamma)