Refactoring

Various Python refactoring.

- Pep8
- Imports optimized
- Useless parenthesis
- set litteral init

I strongly recommand pycharm community http://www.jetbrains.com/pycharm/ that helped me find all these bugs ;)