Ios8

Since registerForRemoteNotificationTypes: has been deprecated in ios8, introduce macro to fit ios7 and ios8

let's add other types as well e.g:
 UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound