Add a -derivedDataPath option

A patch to add the -derivedDataPath option to xctool that is passed on to xcodebuild. Includes a fix for relative pch paths when using build folders contained within the projects directory.