move trie creation to a common point
adjust unit tests to use new trie
change STAssertTrue(0,… to STFail() and some minor cleanup
use the new objc object subscripting