Added pre-commit hook to dump docstrings to readme.md.