Finite generalized root systems and applications