NSDate category and CILocationManager updated for iOS 8 compatability