Add getLongestMatch functionality to trie.
Added comments/todos
Add support thresholded lookups. Add tokenized version of put. Now always tokenize before inserting or looking up. Update test cases.
API changes, mostly cosmetic.
test ternaryttree
ok
revert ternary trie primitive
revert
merge code
remove my dependences from the master