Near-Perfect Measurement of Photonic Spatial Modes