JBIDE-14009 Change palette content when HTML page is changed

Palette is switched between JSF/Mobile at doctype change.
Test is added.