Remove C++11 code.

This enables building with older versions of Xcode.
Update project files.

Add missing project file contents.xcworkspacedata and update .gitignore
(taken from https://github.com/github/gitignore)