Derive QtGui.QDialog automatically

Use the __bases__ attribute on the GetAddons class rather than trying to
manually hard code it.