Add Xcode project files to ignore list.

Copy file patterns for version-control exclusion from a template in
<http://stackoverflow.com/a/12021580/1010226>.

(cherry picked from commit 2ab553d9390f13421bc5535942c027628a520c7d)