Fix layout for iOS7

On iOS7 contentSize will not updating if last line contain only '\n' character.
Merge pull request #1 from ArtFeel/master

Fix layout for iOS7