Update .gitignore for Xcode projects.

Used .gitignore found at https://github.com/github/gitignore/blob/master/Global/Xcode.gitignore.