Two new template functions: truncate and striptags.

* `truncate` function truncates text to the specified number of bytes.
Appends "..." if the string was truncated.

* `striptags` removes HTML tags from the given string.