Prune local link

This branch is identical to the UniversalLink branch except I implemented the exact same pruning procedure for local links, so that we don't get duplicate local links that the Wikipedia style guide dislikes.  It only increases performance time by 25% (from about 4 to about 5 minutes for simple english).