Fixed PEP-8 formatting recommendations in setup.py

This fixes a series of warnings from the pep8 tool involving excess spaces
around operators, and closing bracket not matching visual indentation in
setup.py.

Testing Done:
Ran unit tests, and pep8.

Reviewed at https://reviews.reviewboard.org/r/6657/
Fixed PEP-8 formatting recommendations in db module

This fixes a warning from the pep8 tool involving an over-indented line.

Testing Done:
Ran unit tests, and pep8.

Reviewed at https://reviews.reviewboard.org/r/6658/
Fix PEP-8 formatting recommendations in the test running code

This fixes a series of warnings from the pep8 tool involving line lengths, and
under-indented lines.

Testing Done:
Ran unit tests, and pep8.

Reviewed at https://reviews.reviewboard.org/r/6662/
Fix PEP-8 formatting recommendations in the doc generation code.

This fixes a series of warnings from the pep8 tool in the auto-generating
Sphinx configuration files and our custom Sphinx extensions. These involve a
line length,and a typo causing an unknown interpreted text warning.

Testing Done:
Built docs, and ran pep8.

Reviewed at https://reviews.reviewboard.org/r/6661/
Merge branch 'release-0.8.x'