Tweak docstrings to better support use with gendoc.py
I recently added support to Mercurial's doc/gendoc.py to generate docs for the configured extensions. This ran into a few problems when attempting to incorporate evolve's generated docs, so this should rectify those issues.