[TASK] Follow redirect to get external URI response code

If an external URI return a 300 status code it's not a useful information
for the content inventory. Knowing the this 300 point to a 404 is more
intersting. This change also introduce UriDefinition::markHasVisited() 
method and mark an external URI as visited after processing.