Improve python code folding

Display real scopes and not just indented blocks.
QIdle: fix for python2 (the zip path were not transmitted to the server)