mipmapping for the cubemap tool added pmrem images

closes MaxDaten/yage#46