Precision measurement of the B → Xs γ photon energy spectrum, branching fraction, and direct CP asymmetry A(CP)((B → X(s+d)γ)