changing HTML entity replacement logic to closer match the ruby project
cleaner logic for suppressing nofollow
logic fixes with indices in the extractor