Added a .gitignore for ignoring binary files.
Added the system call and test for getgid(2).