Add xcode files for mac library work.
Add project file for Eclipse.
Fixed issue with upload variables not being handled correctly.