Overhaul of package_metadata reader. Implement in docs and setup.py.