Quantum Single-Photon Control, Storage, and Entanglement Generation with Planar Atomic Arrays