Put language files in alphabetical order
Fix view widget so that it works with indexes
First pass at switchable colour palettes

Fixes #410

Still some cleaning up to do, and we need a way for incomplete palettes
to inherit from a base palette.