Add a .gitignore.
Trim most of the NetBSD gunk.