Resolve "mysql error at customer->edit->address and customer->edit->limits because groups is reserved keyword in mysql 8+ (not in mariadb i think)"
This MR escapes the reserved keyword groups
in SQL queries (all places). It also removes one copy of the function clientid_to_groups_list
that gets not used anymore.
Fixes #6764 (closed)