add get-groups gnulib module

and also sources for stat and lstat libobjs