Limit theorems and stochastic models for dependence and contagion in financial markets