Allow user to control whether Base::reroute() uses a permanent redirect

In a lot of cases when using GET, you don't want a permanent redirect, e.g. when someone tries to access your admin interface and you redirect them to a login page.  With a permanent redirect if you try to visit these pages again once logged in you'll get sent back to the login page.