Fix PEP-8 formatting recommendations in the hostingsvcs module.

This fixes a series of warnings from the pep8 tool involving too many
blank lines, missing whitespace, and line length issues in the hostingsvcs
module.

Reviewed at https://reviews.reviewboard.org/r/6634/