Collective Electrodynamics: Quantum Foundations of Electromagnetism