Fix twig_first and twig_last filters for UTF8 multibyte strings
bug #1258 Fix twig_first and twig_last filters for UTF8 multibyte strings (chEbba)

This PR was squashed before being merged into the master branch (closes #1258).

Discussion
----------

Fix twig_first and twig_last filters for UTF8 multibyte strings

After string is sliced we already have the right result with a first/last letter for UTF8 string.

Commits
-------

6003ae4 Fix twig_first and twig_last filters for UTF8 multibyte strings