feat(lib):Implements registering for iOS 8 notifications

change log:
- Makes selector check for the new iOS 8 notification settings registration
- Performs pre-iOS 8 registration if it doesn't respond to the selector