Python: fix docstrings pep257 warnings

Fixed warnings:
D400 First line should end with '.', not 't'
D203 Expected 1 blank line *before* class docstring, found 0
Q000 Remove Double quotes
W293 blank line contains whitespace
N802 function name should be lowercase
Some more spelling mistakes