examples/gl_basic: Mark error functions as noreturn

This avoids a clang static analyzer warning about use of freed memory.
examples/gl_basic: Remove extra params added by Xcode
Fix several warnings in Xcode project files
.gitignore: Ignore libwaffle_test.dylib build artifact
examples/gl_basic: Pass "cgl gl" params from Xcode
examples/gl_basic: Fix example in usage message

Version and profile were swapped.