JBIDE-18670 HTML5 Palette: Palette model refactoring

new palette model implemented
+1