Xcode4

I've tested this on Xcode6b and hammered it until it built:

* Xcode doesn't see HIToolbox unless given it in search path. I've just noticed that paths generated by Xcode are a bit messy (either system or hardcoded SDK path, eh)

* I'm not sure what path to photoshop SDK you prefer. I've just added ext/photoshpsdk as recursive, but there are some dangling references to .h files in the project