Replace shorten_subject

PBE added a shorten_text function, this PR combines the two and updates the calls.  

@eurich requested this a bit ago, I think this is what was needed.  We can add additional "smarts" to shorten_text if wanted.