Moved the gcd (greatest common denominator) function from the Fraction.js class to dot.Util.