add TextHelper::preventWidows()

This is my suggestion how to implement this helper. The original pull request by @melat0nin was here: https://github.com/concrete5/concrete5/pull/1073

All it does is adding a non-breakable space beween the last two words of $text. Hence you won't have a line with just one word at the end.