Implement EZP-20723: linkcheck: some urls marked invalid using HEAD req

Allow the option force a GET request, also retry using GET when checking an url
if the result status is not 404 (or 200).
This changes also changes the way the result data string is received: from curl as string, instead of capturing the output buffer.