The Shift from Classical to Modern Probability: a Historical Study with Didactical and Epistemological Reflexions