ENH: numpydoc: Python 3 + minor fixes

This ports numpydoc (in `doc/sphinxext`) to single-codebase Python 2+3 form, and fixes a number of buglets (e.g. in dealing with member attributes).