Rewrote gdMaxPixelDiff so it just comes up with a maximum pixel diff.
Added clarifying comment for gdMaxPixelDiff.
Added beginnings of test code for gdImageScale().