bugfix: made Image own its data

This was a problem if the creator of an image was destructed and a
reference to the image was still around. This can happen if a
pipeline::Value<Image> got sneakily casted into boost::shared_ptr<Image>
-- the pipeline gets destructed, the image is alive.