Add .gitignore with same patterns as .hgignore

This adds a .gitignore which does for Git what .hgignore does for Mercurial. Since fb-ext-lib is now available over Git I think it'd be good to have this.

I have basically copied over the patterns. I'm not sure what could be done to avoid the duplication.