Added rich comparisons and __iter__ to _Trie

Closes issue #16.
The existing error message is fine.