OS X changes:
Make SDLMain be compiled as an Objective C++ file.
Better interoperability between the C++ code and Objective C:
   The Objective C helper functions now return C++ objects, as opposed to c primitives. This also helps with memory management.
Ignore more OS X metadata, particularly files that begin with "._": those files are usually part of extended attributes on file systems that don't support them.
Fix an error when compiling on, at most, 10.9 (missing a header).
OS X: Remove outdated comments.
Quiet a few 64-to-32-bit warnings.
Fix a few left-over bad things.
Merge remote-tracking branch 'GabuEx/master' into BackToGabu
OS X: Use a Cocoa method instead of CoreFoundation to find the application's bundle's name.
Merge branch 'master' of https://github.com/GabuEx/my-little-investigations into BackToGabu

Conflicts:
	osx/SDLMain.mm
	src/FileFunctions.cpp
Merge pull request #20 from MaddTheSane/BackToGabu

Minor OS X change