Add gitignore file

Adds a gitignore file based on GitHub’s recommended gitignore file for
Xcode projects, plus some OS-specific files like DS_Store