Stability problems and differential graded Lie algebras