$wgCaptchaWhitelist: whitelist also links with query or anchor

A link like http://wmflabs.org?curid=7919 was showing a captcha

Change-Id: I061e8a7d474de455bdb85f40a1fcf5269d3a3626