fix cmsShowFF crash -- root 5.34.18 & new ServiRegistry interface

In root 5.34.18 gStyle has been auto-destructed due to aggressive clean-up in ~TApplication. This change contains a workaround for  this problem.

ServiceRegistry interface has been changed and this PR also contains adaptation to it.