Fix bin/.gitignore handling.

The bin directory is deleted and recreated by the make clean and make
release commands, so our .gitignore file was being removed.  Move the
ignoring of bin/ files up to the parent directory's .gitignore file
so we ignore binaries built during the compile process.