Magnetic and electronic ballast & ignitor