Revert "Streamline singleton behavior in a class QgsSingleton"

This reverts commit e1f6edbd55122e6d2206daf4a0b55e3e9207cf80 as it breaks tests