Fixed issue 288: ToBytes

Fixed: AppleNotification.ToBytes incorrectly trims Alert.Body when payload is too big and contains non Latin characters. This code uses fact that in UTF8 one character can be stored in max 4 bytes, so it trims body in cycle until payload will be desired length. This code is much more effective than code that trims string one character by one since it requires much less iterations.