Documentation work and add a test.

Added the BADGES.rst and to docsrc/*.rst and read into README.rst.

Added test_extract.py test.