app: handle potential PySide PyQt4 mixup better.

Now we do not allow using one as a backend when the other is imported.