The Nature of Infrared Emission in the Local Group Dwarf Galaxy NGC 6822 as Revealed by Spitzer