Take Rouge class from pre rather than code

Rouge’s HTML formatter was changed so that the class appears on the
`pre` element rather than the `code` element.

See also jneen/rouge#191.
Merge pull request #502 from nanoc/fix-rouge-class

Take Rouge class from pre rather than code