Allow layers to paint their own background colors

Previously there was only a scene-wide background color, but now each
layer carries its own background color. We can paint this by
generalizing the SolidLineProgram in the OpenGL renderer.