iOS 8 Compatibility

See #1 for more info but this checks for availability of new iOS 8 push methods and uses those, otherwise falls back on those available iOS <= 7.1.

Tested with ad hoc profile and push request showed alert, accepted, went thru, etc. Push notification successfully received. This should be good to merge!