Generalized virtual braid groups, quasi-shuffle product and quantum groups