Code style

Docstring length and style as in PEP8 and single quotes as in HACKING.

Changes are code-style only (except for some typos).