Add in page navigation to html publications

This will need some more styles adding soon but I have added enough to
make it look not broken. There is a separate story for styling.

This also includes some work to refactor the navigation styling so that we don't have to use massive negative margins and borders. This will make a future styling html pubs story nicer.