Implement new path-compressed radix trie.

- The performance benefit over the old algorithm is about 10 times.
- Memory usage is significantly lower as well.
- Now radix trie can accept any IPv4/IPv6 values
Improve radix trie tests.