Support for instance attributes in the class docstring in preparation for cartouche 1.1.
Some PEP8 fixes
Changes to support a Usage: block for code samples.