app: detect possible mixup of PyQt4 and PySide usage.

Mixing the two may lead to unpredictable situations. e.g. I see segfaults on closing on Linux, but on other systems other effects may take place.