JBIDE-18670 HTML5 Palette: Palette model refactoring

new palette model implemented
Here group.getSelectedVersionGroup() is not checked for null, though in other cases the check is used.