Extension function to convert a string to title case.
Words in the WORDS_NOT_TO_CAPITALIZE set will remain in lowercase unless they are the first word.
WORDS_NOT_TO_CAPITALIZE
The string to be converted to title case.
The string in title case.