Electrodynamic and Relativistic Theory of Electromagnetic Mass