core: create plugin instance in the plugin's thread

As of 339a7b9 does qt4-gui's class that implements GeneralPluginInterface also
inherit from QObject. Creating an instance of this class from a thread != the
thread where QApplication is later created causes warnings about QApplication
not being created in the main thread.