Improves Nav to add extension to all links when addExtension is set to true (default

When adding extension if the path segment is empty use index instead to form proper url