[BISERVER-11268] Removing double-encoding of slashes in the query params. Adding the ability to have querystring as part of the template with detection on whether or not a replacement is part of the path or querystring to decide encoding behavior