Fix the page reload issue for code prettify

Having the google prettify js loading in the index causes the page to require a reload when selecting from the menu. 

To stop this happening, and autorun the prettify functions when the partial is loaded via the menu, the calling code has been moved to the "partials/docPage.html" file