Styleguide fix

Fix the errors on the components page of the styleguide

* Moved the data structure for the directory into a function and made it available to the components page
* Made category data available to nav components
* Made search_in_page_header variable available to search component
* Removed the old primary navigation from the styleguide

@andrewgarner