Add support for custom tail truncation strings.

A feature that I've used before, this commit adds support for customizing the truncation string used for tail truncation.