Fixed source code warnings because of iOS 8 checks 

I've removed the `registerForRemoteNotificationTypes` helper because it wasn't used in the app and I've fixed a warning that was occurring when compiling the source code directly in a binary target on iOS 8 targets.

Let me know if you have any questions.