base: add getGroupEntry method

addGroup returns now all group info
squid: check if groups exists
core/mds: fix some undefined variable errors