IDN support and improvement of external link handling

IDN support and improvement of external link handling
Testing this in Dutch it increased the extracted triples and decreased the "BAD URI" triples