Move import

- Navigation is a Hakyll extension really
Remove comments
Specialize type to reduce imports
Use more generic function

- Accept pattern and replacement function
- Use specific pattern for pages (paths) vs feed (URLs)
- Use System.FilePath.Posix since URLs are like POSIX paths.
Extract indexedRoute, compose with setExtension