FLUID-4794: refactored the typeToKey

Refactored the fluid.progressiveEnhancement.typeToKey function. It now uses an externally defined value for replacing ".". This is now set as the fluid.progressiveEnhancement.sep property and defaults to "--".