Do not set C++ compiler explicitly in Xcode projects

LLVM-GCC is no longer available in Xcode 5 (on OS X 10.9).
Backport patch to remove strlcat from curl

Since strlcat is defined in OS X 10.9 as a macro, it collides with
the fallback definition in curl. I backported this fix from upstream
curl: http://curl.haxx.se/mail/lib-2013-02/0214.html

Originally I intended to update curl to a more recent version instead,
but I did not want to break the other platform builds.
Include unistd.h for usleep on OS X 10.9
Set 32-bit architecture on OS X
Use GNU libstdc++ instead of libc++ on OS X
Added 'MOAI_ROOT' variable.

All source files should be specified relative to this variable as opposed to having paths relative to the build scripts themselves.
Updated source paths to be relative to MOAI_ROOT variable
Changed relative source paths to be relative to MOAI_ROOT
Fixed OPENGL_LIBRARIES variable for Linux builds
Fixed typo in host-test cmake build script
Changed more relative source paths for cmake build scripts to be relative to MOAI_ROOT
Removed TextDesigner offset flooring

I don't know if this is to help pixel alignment or something, but I don't run my game at a scale that is the same as the resolution, and with the varied devices that are out there I'm not sure many does? With a lower scale that flooring can move the text around big time, which it did for me :)
Remove LuaJIT dependency from non-LuaJIT iOS target
Ignore Xcode 5 .xccheckout files
Add flag to compile expat
Add flag to compile freetype
Allow building without Lua extensions without curl and crypto
Link OS X Frameworks with CMake in a way that also works in Xcode
Merge pull request #800 from theGoodEvil/xcode5-compat

Xcode 5 / OS X 10.9 Compatibility
Merge remote-tracking branch 'upstream/master' into development