Fix nav_link helper when script_name exists.

It's sending the full path, including script_name to the router
but the router is designed to have the script_name stripped out.
This should fix that by stripping the script_name out before passing
it to the router.