Fixed issues with Footer and Header not showing up

@tsanko, @hippee-lee, @kevinsproles, @texasag please review.

I've moved the themesettings, config and nav api calls to the Main Controller and set them on the scope, so that it can be accessed from the header, footer and home partials. This also fixed the issue with extra calls being made to the API.