QIdle: fix open file
QIdle: setup logging before importing pyqode

so that the qt api log appears