Trie key sequence

This branch completely changes the key-sequence matching algorithm from a LL-ish hash-of-hash traversal to actual sequence of keys.

refs #124, #137, #139, #140