Titles of multiline requests get truncated

CORE-693

Mustache helper to truncate arbitrary strings to length N, or just the first line by default.
The only corner case where there's a difference between our codes is if `str[len] === ' '`, but your code looks cleaner anyway.