Unicode declares that to titlecase a string, the first cased code point after each word boundary should be transformed to its titlecase mapping. All other codepoints are transformed to their lowercase mapping.
These will be needed by AK::String as well, so move them to a helper file where they can be re-used.