Discontinuous Galerkin Methods: Stability of Time Discretizations and Applications to Gradient Flows