merge iOS and OSX xcodeprojects

first shot of merging the iOS and Xcode projects. 
I tried to leave pretty much everything as it was and from a first look everything still works (TM) ;-)