Optimized string to lower / upper methods.
Implemented new system trie.