Generalized Statistical Thermodynamics: Thermodynamics of Probability Distributions and Stochastic Processes