Added static convenience methods for getting platform type and string. This is necessary for when you have a device hardware model but no UIDevice object (i.e. not the current device):
+ (NSUInteger) platformTypeForString:(NSString *)platform;
+ (NSString *) platformStringForType:(NSUInteger)platformType;
+ (NSString *) platformStringForPlatform:(NSString *)platform;