PEP8 improvements white space here and there

I search with regexp ",[^\s-]" to spot missing space after comma. I also, add double break line in front of function or class. I change a couple of comparator in order to add space in front and after " == " for instance.
Fix wrong space insert in patch
Merge pull request #436 from BuhtigithuB/patch-5

PEP8 improvements white space here and there