MW 1.25wmf4 API deprecated paraminfo querymodules

The API action=paraminfo parameter querymodules has been deprecated
with parameter modules as the alternative, with query+value as the
replacement.

QueryGenerator updated to support both old and new syntax, depending
on the site version.

Bug: 72169
Change-Id: Ic02dfba4fd94d8c69b7f28037330cd6467f30234