[ticket/10810] Move the color palette code to core.js.

PHPBB3-10810
[ticket/10810] Make the color palette usable outside of the editor context.

PHPBB3-10810
[ticket/10810] Update all palettes.

PHPBB3-10810
[ticket/10810] Remove obsolete swatch code.

PHPBB3-10810
Merge pull request #1869 from prototech/ticket/10810

[ticket/10810] Move color swatches from popup windows to inline blocks.