Simple fix to avoid performance problems for subdomains with lots of labels
using a trie-like approach
converting to iterative algorithm
Merge pull request #1 from taustin/master

Changing extractTld method to use a trie structure