Set supplementary groups for target user

Introduce new parameter 'use_supplementary_groups'.

When 'use_supplementary_groups' is true and either 'user' or
'uid' is set, supplementary groups would be set according to
/etc/group. If 'gid' is also set, effective group id is set to
'gid', otherwise pw_gid from /etc/passwd is used.