Text this: Adaptive submodularity, theory and applications in active learning and stochastic optimization