[WIP] Created a new method - process_url_parms to add specific params to url

The method will add only specific request query string url params.
Also refactored code to separate out common code to a method.

https://bugzilla.redhat.com/show_bug.cgi?id=1142702
Do we really need an `eval`?