Ruby function to convert a sentence into "title case" as in book / movie titles