Group files and include headers in Xcode project

Tell CMake to place the source files in groups when generating an Xcode
project (this should also apply to visual studio projects as well).
Also, include the header files in the project, so they can be seen in
the file list within the IDE.