Add support for including the query string

Adds an option which allows for having the redirect include the query string.