Added the libsystem_c target.
Added a reference to Kernel.xcodeproj.
Fixed libc.xcconfig.

There were many references to the now-nonexistent DERIVED_FILES_DIR that needed to be changed to DERIVED_FILE_DIR. I also updated the header search paths.
Added the generate-features.pl script.