The Evolutionary Ecology of Crispr-Cas Adaptive Immunity