Trim whitespace from input lines

The effective TLD spec says that we should ony parse up to the first whitespace.
This is not as easy to do but we can ensure no leading or trailing space occurs
in the common case. These can be introduced when editing a tld file.
Correct premature match when * is on the same level as a longer match

When rules like:
*.uk
*.sch.uk
are both present, the * in the *.uk rule would cause starfound to be true. This
then caused parentValid to be set when handling found && !n.ExceptRule which
then caused the next iteration to return as a valid TLD index from getTldIndex.
We don't use starfound when we have found a match thus preferring a longer
match.
Merge pull request #4 from raybejjani/master

Whitespace handling && wildcard logic