fix an issue when the hyphenated line has wrong stringRange, and -lineContainingIndex method returns nil
fix LineCreateJustifiedLine sometimes fails if the line ends with 0x00AD (soft hyphen) and contains cyrillic chars
Merge pull request #519 from kolyvan/hyphenate_fix

Hyphenate fix