BUG: numpydoc: fix bugs in attribute docstring extraction + improve presentation
TST: numpydoc: more class tests
BUG: numpydoc: check that it works with sub-classes