Add array enumeration using libdispatch. Also add some tests and fix a bug in the GenerateGroups test.
Commit a bunch of Xcode related files.