Update for iOS 8
Merge pull request #4 from contexthub/ios-8

Update for iOS 8