Remove 64 bits warnings

- I updated the project settings to remove a warning in Xcode 6.
- I used `NSInteger` or `NSUInteger` where required to avoid conversion with precision loss (warnings)
- I replaced several integer format keys (mainly in asserts) with object format keys so that no warning shows up in future SDK releases