Refactored `__buildNavigation`; Seperate the 3 builds into their own method for more readability
Make it possible to add target attributes on links from extensions
Updated the extension doc
Merge pull request #1601 from DeuxHuitHuit/buildnav

Refactored `__buildNavigation` and added target attribute for extension links