Emergent Behaviors In Adaptive Dynamical Networks With Applications To Biological And Social Systems