Adding layout to painters.
Painters can now layout their children and optionally specify a size for
themselves. No more hardcoding offsets!
Adding different styles to range painter.
This adds a 'time span' style used by the timerange painter.