Hide primary links in document preview

Using the JavaScript from the frontend toolkit hide the non-primary
links in the preview.
Merge pull request #53 from alphagov/hide-primary-links

Hide primary links in document preview