Add support for DSSIM test and bring DSSIM and RGB-SSIM tests into the tree, part 2.