An analytical framework for the study of epidemic models on activity driven networks