improved getBestImageURL algorithm to allow for 'shortcut icon' tag