[nemo-qml-plugin-thumbnailer] Allow use in auto tests

Auto tests can instantiate the QML engine repeatedly without halting
the QApplication.