Cleanups; add 'make depend'.
OS X: Remove CoreFoundation; use kqueue() directly.
Add .gitignore.