JUri::setVar

Adds a query variable and value, replacing the value if it already exists and returning the old value.