Defects and external field effects on the electronic properties of a carbon nanotube torus