[pyramid] Retrieve user's groups using a custom RQL instead of user's groups property
With cubicweb 3.24, user.groups is set lazily and so retrieving it at this point
will cause a traceback because the connection is not yet entered.
Also, user doesn't accept anymore groups and properties arguments.
usr/bin/cubicweb-ctl usr/bin/
usr/lib/python2*/*-packages/cubicweb/cwctl.py
../cubicweb-ctl.bash_completion etc/bash_completion.d/cubicweb-ctl