Add isEven/isOdd, fix toBinaryString, add stubs...

... for gcd and a lot of tests.