Updated for iOS 8

Added iOS 8 support for the new Core Location API