Backwards compatibility for iOS7 / iOS 8

Small edit to PushPlugin.m to work with iOS8's new code for registering for remote notifications. Added in conditional code to tell the compiler which piece of code to use for iOS7 and iOS8 so that it is backwards compatible, tested on iOS8 and iOS7 successfully.