Allow layer objects and array of layer objects as the return type from the draw callback in the image cache. Rev: server/base_server/roxen.pike:1.439