Pygments formatter that understands line classes
Patch Sphinx's Pygments HTML formatter with our version.
Make directive line numbers indexed from 1.

This is consistent with the Sphinx/Pygments code.
Integration test for HTML output.
README, NEWS, metadata update.