Added Palette loading/saving functions.

Also added code to combine a Tileset into one Pixelmap.