Fix some warnings and upgrade project for iOS 8, iPhone 6, etc