Cleaned up docs and fixed sphinx issues.

Fixed a few pep8 issues in repo.py