preventWidows() text helper function prevents widowed words

preventWidows() formats a string to prevent widowed words by adding `&nbsp;` between the last two words, which is good for typography. See CSS Tricks article which talks about preventing widows in jQuery: http://css-tricks.com/preventing-widows-in-post-titles/