A stomach bug might reduce children's risk of developing asthma and other allergies, according to recent research by New York University doctors.