Simplify and improve the hack

Now we just preload pyqt4 API. This works even when QT_API is set to something else and now the full pyqode api is covered (e.g. CodeEdit.appendText shows up in the completion list).