Fix *_validate_field URIs when a querystring is supplied

plone.app.users uses both querystrings and post forms, e.g. for
"@@personal-information?userid=bob". Be more cleverer when altering the URI
to do inline validation.

I think this code is sane, but I'm guessing isn't amazingly tested so someone looking over it would be useful!