Fix redirection of static resources to include query & fragment.

Previously, the static serving handler would allow automatically redirecting URLs that lacked a trailing slash to include the slash. However, these redirects were dropping any query and fragment portions of the URL.  This CL updates the redirect to include the entire redirect URL.