Updated for iOS 8.

Includes permission checks for Facebook, Microphone access and Health
info.
Updated example.