Finite-Temperature Quantum Electrodynamics: General Theory and Bloch-Nordsieck Estimates of Fermion Damping in a Hot Medium