Registers for remote notifications on iOS 8