Dynamical groups and generalized symmetries in quantum theory : with applications in atomic and particle physics