Added Python compiled files to gitignore and cleanup

I only have added the *.py[cod] files to gitignore, because these binary files are
not need in git.
If you want you can also include a much bigger python gitignore from here:
https://github.com/github/gitignore/blob/master/Python.gitignore