UTF-8 fix for truncatePlaintext

truncatePlaintext completely failed on UTF-8 content, so I changed it slightly.

This is the issue about it:
https://github.com/punkave/apostrophe/issues/85