Ported the full-screen patch from
https://github.com/downloads/typester/emacs/feature-fullscreen.patch. This
provides the function ns-toggle-fullscreen. The direct port doesn't
work correcty.

The problem was the lion Fullscreen additions changed some of the
default behavior, so whenever we check for isFullscreen, we also need
to check if the ns-toggle-fullscreen fullscreen is active.
Updated gitignore to work on compiling emacs on Mac OS X binaries.