Streamline singleton behavior in a class QgsSingleton, take two

delete provider registry after map layer registry to avoid crashes
More singleton unification