Adaptive Herbivore Ecology: Resource-dependent mortality : nutrition, predation and demography