XWIKI-11351: Applications Panel sets some color regardless to the color theme.

(cherry picked from commit 168edcdb94e4bb8247e56ff043ecbda217c0375c)
XWIKI-11350: Bad color theme used by the LESS Module when the color theme is not specified in the query string.

(cherry picked from commit 5ae3d987b6fdc58a4698b40bb56f889821404ffb)