Refactor truncate_message filter
Refactor truncate_message filter

We extract some internal emthods to make the truncation flow clearer,
i.e. first we run the selectors, then we truncate the message, then we
insert the ellipsis message (if required).

meineerde/rackstash,meineerde/rackstash