Path and functional integrals in electromagnetics: Old and new