Updated for iOS8

As detailed here http://blog.parse.com/2014/09/15/ready-for-ios-8-so-is-parse-push/
for iOS8 & <iOS8

whoops, sorry this, one supports iOS8 & before
tested on iOS8
Merge pull request #2 from sydlawrence/patch-1

Updated for iOS8