python.snippets: docstrings follow PEP257. PEP8 fixes.

I added blank lines before class docstrings. First line of each docstring ends with dot. Fixed indent to multiply by 4.

Now pep257 checker accepts code produced by snippets.