cache image pyramids, precompute srgb2lin

In this implementation, the image pyramid cache doesn't yet support multiple scenes, but SingleView gracefully degrades to its previous behavior of constructing its own pyramid.