groups: port missing functionality

* Implement user group manage function

* Add filter on list of group that user can join.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
You don't have to iterate over the fields here to have better control over labels ... do we need label for select box?