FLUID-5255: Improved fluid.uiOptions.prefsEditor to get rid of the requirement that integrators need to explicitly passing in the grade for distributing toc template.