Updated for iOS 8.

Includes permission checks for Facebook, Microphone Access and Health the same way as all the other checks.
Also fixes warnings related to notification and location access.