TitleCase is a modified Python port of John Gruber's titlecase.pl