Added show_only option to palette canvas. Add setters and getters for LinearMidpointScale.midpoint.

show_only = all shows the full palette (the default)
show_only = start shows the first half of the palette
show_only = end shows the second half of the palette