TernaryMap: A prefix-tree map implementation

Finally finished writing a bunch of tests for coverage, plus I wanted to have sub-key iterators. Let me know what you think.
`_dfs` is already checking the return value of it's callback argument against `true`, making this check redundant. I probably will remove both checks and make it a contract of `dfs` that the callback returns a bool.