Fix printing of PDF slides from revealjs

This pull request should fix printing of PDF slides using Print->pdf from the chrome browser by implementing John McFarlane's fix for the pandoc template as described in #206.