Changed to use c++11 features.
Added Xcode project.
Added project files for Visual Studio.
Updated .gitignore.