Test page param ams & ips replaced by single param env. QA added

With the QA environment up, the test page has been modified to incorporate the QA environment.

The individual parameters ams, ips and paf have been consolidated into env.
(I do not see any need to set them separately. Setting them separately may even cause confusion)

The ams parameter is still accepted as fallback for backward compatibility (see code change).

@mlippert, @seannives , @lbondaryk see if the changes breaks any of your  auxiliary script tools (that generates links).