xcode ide generator

based off the xcode3 code, but not tested on that version, so thought it best to create a new file.
copied in some of the msvc script to add source files to the IDE