Fixing and adding test on euclidean.php

Fixe some problem with gcd_recursive, and add some test with PHPUnit Test