Fixes for the PEP8 warning "E111 indentation is not a multiple of four".

If it's ok with you guys, I'm going to work on this little by little. Each python file will be a commit in this pull request.

Fixing this warning everywhere will move towards consistent formatting for the code base.

I'll post another comment when this pull request is ready for review from a core developer.