Modeling the Evolutionary Ecology of Stress Responses in Microbes