More robust Qi4CS model provider type detection, and a little todo for XML configuration extension.