Extracted URL manipulation to new library $.p3.request

Cleaned URL and GET variable request manipulation