Fix PEP8 coding style violations

I went through (some of) the source files and fixed most PEP8 coding style violations, as per Issue https://github.com/gnudo/grecoman/issues/76

TODO: Fix the remaining files (ui*.py, prj2sin.py and main.py).