MNT: Added bool flag to switch between PyQt4 and PySide import